Skip to content

Instantly share code, notes, and snippets.

@wesleywillians
Created April 3, 2021 01:17
Show Gist options
  • Save wesleywillians/e1cfc98f70e04e4e6d2f8fe5c9dcdaa6 to your computer and use it in GitHub Desktop.
Save wesleywillians/e1cfc98f70e04e4e6d2f8fe5c9dcdaa6 to your computer and use it in GitHub Desktop.
Live Esquenta K8s
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"
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