Skip to content

Instantly share code, notes, and snippets.

@azhuox
Created November 29, 2020 22:47
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 azhuox/11ca7a0009398a373cae52e9ff78475f to your computer and use it in GitHub Desktop.
Save azhuox/11ca7a0009398a373cae52e9ff78475f to your computer and use it in GitHub Desktop.
: v1
kind: Service
metadata:
name: foo-service
namespace: foo-demo
spec:
type: LoadBalancer
selector:
app: foo
environment: demo
ports:
- protocol: TCP
port: 443
targetPort: 8443
status:
loadBalancer:
ingress:
- ip: 10.254.2.127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment