December 2019
Intermediate to advanced
494 pages
11h 41m
English
Here's the code for the deployment object for the backend Redis pod:
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: azure-vote-back
spec:
replicas: 1
template:
metadata:
labels:
app: azure-vote-back
spec:
containers:
- name: azure-vote-back
image: redis
ports:
- containerPort: 6379
name: redis
Let's go over the preceding code: