File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
kubernetes_engine/django_tutorial Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 4848 # off in production.
4949 imagePullPolicy : Always
5050 env :
51- # [START gke_cloudsql_secrets_python]
5251 - name : DATABASE_NAME
5352 valueFrom :
5453 secretKeyRef :
6463 secretKeyRef :
6564 name : cloudsql
6665 key : password
67- # [END gke_cloudsql_secrets_python]
6866 ports :
6967 - containerPort : 8080
7068
71- # [START gke_proxy_container_python]
7269 - image : gcr.io/cloudsql-docker/gce-proxy:1.16
7370 name : cloudsql-proxy
7471 command : ["/cloud_sql_proxy", "--dir=/cloudsql",
8279 mountPath : /etc/ssl/certs
8380 - name : cloudsql
8481 mountPath : /cloudsql
85- # [END gke_proxy_container_python]
86- # [START gke_volumes_python]
8782 volumes :
8883 - name : cloudsql-oauth-credentials
8984 secret :
@@ -93,10 +88,10 @@ spec:
9388 path : /etc/ssl/certs
9489 - name : cloudsql
9590 emptyDir : {}
96- # [END gke_volumes_python]
9791# [END gke_kubernetes_deployment_yaml_python]
9892---
9993
94+ # [START gke_kubernetes_service_yaml_python]
10095# [START gke_container_poll_service_python]
10196# The polls service provides a load-balancing proxy over the polls app
10297# pods. By specifying the type as a 'LoadBalancer', Kubernetes Engine will
@@ -118,4 +113,5 @@ spec:
118113 targetPort : 8080
119114 selector :
120115 app : polls
121- # [END gke_container_poll_service_python]
116+ # [END gke_container_poll_service_python]
117+ # [END gke_kubernetes_service_yaml_python]
You can’t perform that action at this time.
0 commit comments