Skip to content

Instantly share code, notes, and snippets.

@sebbrandt87
Last active November 21, 2018 09:14
Show Gist options
  • Save sebbrandt87/39126593e50dcf66894b06b57fdf6955 to your computer and use it in GitHub Desktop.
Save sebbrandt87/39126593e50dcf66894b06b57fdf6955 to your computer and use it in GitHub Desktop.
service.yaml
---
apiVersion: v1
kind: Service
metadata:
name: si-test-foobar
namespace: siws
spec:
ports:
- port: 80
protocol: TCP
targetPort: 8080
selector:
app: si-test
sessionAffinity: None
type: ClusterIP
@sebbrandt87
Copy link
Author

podname: si-test
dns: si-test-foobar.siws.svc.cluster.local

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment