Skip to content

Instantly share code, notes, and snippets.

@parisnakitakejser
Created January 3, 2022 00:48
Show Gist options
  • Save parisnakitakejser/6e161595418ae1c51f50cf73305553b7 to your computer and use it in GitHub Desktop.
Save parisnakitakejser/6e161595418ae1c51f50cf73305553b7 to your computer and use it in GitHub Desktop.
Create a service there open for port 80+443 into the selector group ingress: TLSIngress
apiVersion: v1
kind: Service
metadata:
name: k8s-ssl
spec:
selector:
ingress: TLSIngress
ports:
- name: http
protocol: TCP
port: 80
- name: https
protocol: TCP
port: 443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment