Replies: 2 comments 1 reply
-
|
@BeoKool |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Closing. No answer in 4 years. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I try to lab nginx Ingress controller, and I have some confused
I cannot open the nginx website I have configured.
Here is my configuration of service, deployment and ingress.
apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: app namespace: nginx-ingress spec: rules: # Access domain name - host: trungdamtest.com http: paths: - pathType: Prefix path: / backend: # service corresponding to domain name and path service: name: http-test-svc port: number: 80 -- apiVersion: v1 kind: Service metadata: name: http-test-svc # this service is created at the namespace with Haproxy Ingress namespace: nginx-ingress spec: ports: - port: 80 protocol: TCP targetPort: 80 selector: run: http-test-app sessionAffinity: None type: ClusterIP --- apiVersion: apps/v1 kind: Deployment metadata: labels: run: http-test-svc name: http-test-svc # This deploy is created at the namespace with Haproxy Ingress namespace: nginx-ingress spec: replicas: 2 selector: matchLabels: run: http-test-app template: metadata: labels: run: http-test-app spec: containers: - image: nginx imagePullPolicy:IfNotPresent name: http ports: - containerPort: 80 protocol: TCP resources: {}Beta Was this translation helpful? Give feedback.
All reactions