Skip to content

Instantly share code, notes, and snippets.

@alperen-selcuk
Last active April 7, 2021 20:17
Show Gist options
  • Select an option

  • Save alperen-selcuk/0c72ce5ad7039b4fce497fa5ac8a9a90 to your computer and use it in GitHub Desktop.

Select an option

Save alperen-selcuk/0c72ce5ad7039b4fce497fa5ac8a9a90 to your computer and use it in GitHub Desktop.
clusterip
apiVersion: v1
kind: Service
metadata:
name: nginx-service
spec:
type: ClusterIP
selector:
app: nginx
ports:
- port: 8080
targetPort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment