Created
May 6, 2020 01:23
-
-
Save InAnimaTe/9aa4838fe8f18822aa17a8b23750b541 to your computer and use it in GitHub Desktop.
API Version weirdness...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: networking.k8s.io/v1beta1 | |
| kind: Ingress | |
| metadata: | |
| name: engage-ingress | |
| annotations: | |
| kubernetes.io/ingress.class: nginx-external | |
| spec: | |
| rules: | |
| - host: engage.staging.example.com | |
| http: | |
| paths: | |
| - path: / | |
| backend: | |
| serviceName: engage | |
| servicePort: 80 | |
| tls: | |
| - hosts: | |
| - engage.staging.example.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: extensions/v1beta1 | |
| kind: Ingress | |
| metadata: | |
| annotations: | |
| kubectl.kubernetes.io/last-applied-configuration: | | |
| {"apiVersion":"networking.k8s.io/v1beta1","kind":"Ingress","metadata":{"annotations":{"kubernetes.io/ingress.class":"nginx-external"},"name":"engage-ingress","namespace":"default"},"spec":{"rules":[{"host":"engage.playground.example.com","http":{"paths":[{"backend":{"serviceName":"engage","servicePort":80},"path":"/"}]}}],"tls":[{"hosts":["engage.playground.example.com"}]}} | |
| kubernetes.io/ingress.class: nginx-external | |
| creationTimestamp: "2020-05-06T00:56:19Z" | |
| generation: 1 | |
| name: engage-ingress | |
| namespace: default | |
| resourceVersion: "145130300" | |
| selfLink: /apis/extensions/v1beta1/namespaces/default/ingresses/engage-ingress | |
| uid: 488bca0c-34cf-4122-a350-2bde500d0f3a | |
| spec: | |
| rules: | |
| - host: engage.playground.example.com | |
| http: | |
| paths: | |
| - backend: | |
| serviceName: engage | |
| servicePort: 80 | |
| path: / | |
| tls: | |
| - hosts: | |
| - engage.playground.example.com | |
| status: | |
| loadBalancer: | |
| ingress: | |
| - hostname: a0901a268b2281examplee2ffbd16e2-7baadc2e29c1d5ab.elb.us-east-1.amazonaws.com |
Author
See also: https://github.com/FairwindsOps/pluto#purpose
- API dynamic nature explained: kubernetes/kubernetes#58131 (comment)
- k8s Deprecation policy: https://kubernetes.io/docs/reference/using-api/deprecation-policy/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From Liggit in slack linked conversation above (for those who don't like to click on "one-weird-trick" links to slack conversations: