# An example of a Kubernetes configuration for Ignite pods deployment. apiVersion: extensions/v1beta1 kind: Deployment metadata: # Custom Ignite cluster's name. name: ignite-cluster spec: # A number of Ignite pods to be started by Kubernetes initially. replicas: 2 template: metadata: labels: app: ignite spec: serviceAccountName: ignite containers: # Custom Ignite pod name. - name: ignite image: gcr.io/crypto-topic-270614/testa:tag3 env: - name: OPTION_LIBS value: ignite-kubernetes - name: CONFIG_URI value: https://raw.githubusercontent.com/xhulja07/igniteconfig/master/kube-persistence.xml ports: # Ports to open. # Might be optional depending on your Kubernetes environment. - containerPort: 11211 # REST port number. - containerPort: 47100 # communication SPI port number. - containerPort: 47500 # discovery SPI port number. - containerPort: 49112 # JMX port number. - containerPort: 10800 # SQL port number. - containerPort: 10900 # Thin clients port number. volumeMounts: - mountPath: /opt/ignite/libs/ name: ignite volumes: - name: ignite hostPath: path: /home/shahinixhulja/ignite2/libs/