Skip to content

Instantly share code, notes, and snippets.

@bgulla
Created January 6, 2021 22:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bgulla/4db6de78a0c4dccca558779b5357af16 to your computer and use it in GitHub Desktop.
Save bgulla/4db6de78a0c4dccca558779b5357af16 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: rancher-svc
namespace: kube-system
spec:
type: LoadBalancer
ports:
- port: 443
protocol: TCP
targetPort: 443
name: rancher-https
- port: 80
protocol: TCP
targetPort: 80
name: rancher-http
selector:
app: rke2-ingress-nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment