Skip to content

Instantly share code, notes, and snippets.

@Harsimran1
Created December 14, 2019 23:14
Show Gist options
  • Save Harsimran1/42b14b052d77d37201064382b4c7e3ab to your computer and use it in GitHub Desktop.
Save Harsimran1/42b14b052d77d37201064382b4c7e3ab to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: nginx-service
spec:
selector:
app: nginx
ports:
- protocol: TCP
port: 80
targetPort: 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment