Created
April 3, 2021 01:17
-
-
Save wesleywillians/e1cfc98f70e04e4e6d2f8fe5c9dcdaa6 to your computer and use it in GitHub Desktop.
Live Esquenta K8s
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: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: esquenta | |
| spec: | |
| selector: | |
| matchLabels: | |
| app: esquenta | |
| replicas: 10 | |
| template: | |
| metadata: | |
| labels: | |
| app: esquenta | |
| spec: | |
| containers: | |
| - name: esquenta | |
| image: "wesleywillians/hello-go-esquenta:latest" |
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: v1 | |
| kind: Service | |
| metadata: | |
| name: esquenta-service | |
| spec: | |
| type: LoadBalancer | |
| selector: | |
| app: esquenta | |
| ports: | |
| - port: 80 | |
| targetPort: 8000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment