Skip to content

Instantly share code, notes, and snippets.

@PyDataBlog
Created June 25, 2022 15:06
Show Gist options
  • Save PyDataBlog/05ac746af49f9bc2bf9c3d7678db4fc8 to your computer and use it in GitHub Desktop.
Save PyDataBlog/05ac746af49f9bc2bf9c3d7678db4fc8 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: hello-svc
namespace: ingress-demo
spec:
selector:
app: myapp
ports:
- port: 8080
targetPort: 8080
type: NodePort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment