Skip to content

Instantly share code, notes, and snippets.

@jonchen727
Last active June 9, 2022 15:29
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 jonchen727/4628eb0ce83af3924b9c9b5abecf0ec0 to your computer and use it in GitHub Desktop.
Save jonchen727/4628eb0ce83af3924b9c9b5abecf0ec0 to your computer and use it in GitHub Desktop.
An example redis deployment with required Istio fields
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: redis
version: "6.0"
name: redis
namespace: wordpress
spec:
replicas: 1
selector:
matchLabels:
app: redis
version: "6.0"
template:
metadata:
labels:
app: redis
version: "6.0"
spec:
containers:
- image: redis:6.0
name: wordpress
ports:
- containerPort: 6379
name: tcp-redis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment