Last active
June 9, 2022 15:29
-
-
Save jonchen727/4628eb0ce83af3924b9c9b5abecf0ec0 to your computer and use it in GitHub Desktop.
An example redis deployment with required Istio fields
This file contains 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: | |
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