Completed the setup of Phpmy admin, Wordpress, MySql, Ngnix and it is fine, load balancing with http. Now I am having Issues with http redirecting to https and where to connect my existing ssl certificates.
Here are the yamls I used, please take a look and guide if there are any changes required to fix. ------------------------------------------------------------------------------------------------------------------------- ngnix.yaml: apiVersion: apps/v1beta2 # for versions before 1.9.0 use apps/v1beta2 kind: Deployment metadata: name: nginx spec: selector: matchLabels: name: nginx replicas: 1 # tells deployment to run 2 pods matching the template template: # create pods using pod definition in this template metadata: # unlike pod-nginx.yaml, the name is not included in the meta data as a unique name is # generated from the deployment name labels: name: nginx spec: containers: - name: nginx image: nginx:1.7.9 ports: - containerPort: 80 ************************************ nginx-svc.yaml apiVersion: v1 kind: Service metadata: name: nginx labels: name: nginx spec: type: NodePort ports: - port: 80 nodePort: 30080 name: http - port: 443 nodePort: 30443 name: https selector: name: nginx ************************************* basic-ingress.yaml apiVersion: extensions/v1beta1 kind: Ingress metadata: name: basic-ingress spec: backend: serviceName: nginx servicePort: 80 ************************************ fanout-ingress.yaml apiVersion: extensions/v1beta1 kind: Ingress metadata: name: fanout-ingress spec: rules: - http: paths: - backend: serviceName: nginx servicePort: 80 path: /test - backend: serviceName: wordpress servicePort: 30902 path: - backend: serviceName: phpmyadmin servicePort: 30956 path: /phpMyadmin Add comment -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.