File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
kubernetes_engine/django_tutorial Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1- # Copyright 2015 Google Inc.
1+ # Copyright 2020 Google Inc.
22#
33# Licensed under the Apache License, Version 2.0 (the "License");
44# you may not use this file except in compliance with the License.
2323# https://kubernetes.io/docs/user-guide/deployments/
2424
2525# [START kubernetes_deployment]
26- apiVersion : extensions/v1beta1
26+ apiVersion : apps/v1
2727kind : Deployment
2828metadata :
2929 name : polls
3030 labels :
3131 app : polls
3232spec :
3333 replicas : 3
34+ selector :
35+ matchLabels :
36+ app : polls
3437 template :
3538 metadata :
3639 labels :
8487 hostPath :
8588 path : /etc/ssl/certs
8689 - name : cloudsql
87- emptyDir :
90+ emptyDir : {}
8891 # [END volumes]
8992# [END kubernetes_deployment]
9093
You can’t perform that action at this time.
0 commit comments