Skip to content

Instantly share code, notes, and snippets.

@mirageglobe
Created September 19, 2025 11:53
Show Gist options
  • Select an option

  • Save mirageglobe/c08b89b044d136a10f071dd2648398b4 to your computer and use it in GitHub Desktop.

Select an option

Save mirageglobe/c08b89b044d136a10f071dd2648398b4 to your computer and use it in GitHub Desktop.
kubernetes manifest
apiVersion: apps/v1
kind: Deployment
metadata:
name: counter-admin-deployment
labels:
app: counter
annotations:
sidecar.istio.io/inject: false
spec:
replicas: 1
selector:
matchLabels:
app: counter
template:
metadata:
labels:
app: counter
spec:
containers:
- name: counter-admin
image: gcr.io/my-project/counter-admin:1.0
ports:
- containerPort: 8080
env:
- name: MY_SECRET_API_KEY
value: "hardcoded-secret-key"
readinessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 5
resources: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment