File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed
endpoints/getting-started Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15-
1615apiVersion : v1
1716kind : Service
1817metadata :
2322 targetPort : 8080
2423 protocol : TCP
2524 name : http
26- - port : 443
27- protocol : TCP
28- name : https
2925 selector :
3026 app : esp-echo
3127 type : LoadBalancer
@@ -41,30 +37,20 @@ spec:
4137 labels :
4238 app : esp-echo
4339 spec :
44- volumes :
45- - name : nginx-ssl
46- secret :
47- secretName : nginx-ssl
4840 containers :
4941 # [START esp]
5042 - name : esp
5143 image : b.gcr.io/endpoints/endpoints-runtime:0.3
5244 args : [
5345 " -p" , "8080",
54- " -S" , "443",
5546 " -a" , "127.0.0.1:8081",
5647 " -s" , "SERVICE_NAME",
5748 " -v" , "SERVICE_VERSION",
5849 ]
5950 # [END esp]
6051 ports :
61- - containerPort : 8080
62- - containerPort : 443
63- volumeMounts :
64- - mountPath : /etc/nginx/ssl
65- name : nginx-ssl
66- readOnly : true
52+ - containerPort : 8080
6753 - name : echo
6854 image : gcr.io/google-samples/echo-python:1.0
6955 ports :
70- - containerPort : 8081
56+ - containerPort : 8081
You can’t perform that action at this time.
0 commit comments