Skip to content

Instantly share code, notes, and snippets.

@thomasxd24
Created April 10, 2020 14:06
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 thomasxd24/181e3f78f6712e864188fff4629d8694 to your computer and use it in GitHub Desktop.
Save thomasxd24/181e3f78f6712e864188fff4629d8694 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"labels":{"app":"default-http-backend"},"name":"default-http-backend","namespace":"ingress-nginx"},"spec":{"ports":[{"port":80,"targetPort":8080}],"selector":{"app":"default-http-backend"}}}
creationTimestamp: "2020-04-10T10:10:18Z"
labels:
app: default-http-backend
name: default-http-backend
namespace: ingress-nginx
resourceVersion: "1246"
selfLink: /api/v1/namespaces/ingress-nginx/services/default-http-backend
uid: dbb97de1-1d99-4863-986c-dc89a1c7edbf
spec:
clusterIP: 10.43.40.196
ports:
- port: 80
protocol: TCP
targetPort: 8080
selector:
app: default-http-backend
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment