Deploying and ScalingKubernetes with Rancher
7.9. Wait for the replication controller to bring all 4 pods up: apiVersion: v1 kind: ReplicationController metadata: name: my-nginx spec: replicas: 4 template: metadata: labels: TCP name: http selector: k8s-app: nginx-service --- apiVersion: v1 kind: ReplicationController metadata: ©Rancher Labs 2017. All rights Reserved. 49 DEPLOYING AND SCALING KUBERNETES the replication controller is also created in the elk namespace. apiVersion: v1 kind: ReplicationController metadata: name: es namespace: elk labels: component: elasticsearch ©Rancher0 码力 | 66 页 | 6.10 MB | 1 年前3
共 1 条
- 1













