Project:Sandbox

cat </tmp/ingress-controller-config.yaml apiVersion: extensions/v1beta1 kind: Deployment metadata: name: nginx-ingress-controller namespace: nginx-ingress spec: replicas: 1 selector: matchLabels: k8s-app: nginx-ingress-lb template: metadata: labels: k8s-app: nginx-ingress-lb spec: serviceAccountName: nginx-ingress-serviceaccount hostNetwork: true containers: - name: nginx-ingress-controller image: gcr.io/google_containers/nginx-ingress-controller:0.9.0-beta.11 args: - /nginx-ingress-controller - --default-backend-service=default/default-http-backend - --default-ssl-certificate=$(POD_NAMESPACE)/tls-certificate env: - name: POD_NAME valueFrom: fieldRef: fieldPath: metadata.name