Correcting example from namespaces-walkthrough task (#19294)
* Correcting deployment example As 'kubectl run' command is deprecated, creating deployment with deployment manifest and apply command. * Deployment manifest for snowflake example Deployment manifest for snowflake example
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: snowflake
|
||||
name: snowflake
|
||||
spec:
|
||||
replicas: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
app: snowflake
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: snowflake
|
||||
spec:
|
||||
containers:
|
||||
- image: k8s.gcr.io/serve_hostname
|
||||
imagePullPolicy: Always
|
||||
name: snowflake
|
||||
Reference in New Issue
Block a user