File tree 1 file changed +2
-16
lines changed
endpoints/getting-started
1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
-
16
15
apiVersion : v1
17
16
kind : Service
18
17
metadata :
23
22
targetPort : 8080
24
23
protocol : TCP
25
24
name : http
26
- - port : 443
27
- protocol : TCP
28
- name : https
29
25
selector :
30
26
app : esp-echo
31
27
type : LoadBalancer
@@ -41,30 +37,20 @@ spec:
41
37
labels :
42
38
app : esp-echo
43
39
spec :
44
- volumes :
45
- - name : nginx-ssl
46
- secret :
47
- secretName : nginx-ssl
48
40
containers :
49
41
# [START esp]
50
42
- name : esp
51
43
image : b.gcr.io/endpoints/endpoints-runtime:0.3
52
44
args : [
53
45
" -p" , "8080",
54
- " -S" , "443",
55
46
" -a" , "127.0.0.1:8081",
56
47
" -s" , "SERVICE_NAME",
57
48
" -v" , "SERVICE_VERSION",
58
49
]
59
50
# [END esp]
60
51
ports :
61
- - containerPort : 8080
62
- - containerPort : 443
63
- volumeMounts :
64
- - mountPath : /etc/nginx/ssl
65
- name : nginx-ssl
66
- readOnly : true
52
+ - containerPort : 8080
67
53
- name : echo
68
54
image : gcr.io/google-samples/echo-python:1.0
69
55
ports :
70
- - containerPort : 8081
56
+ - containerPort : 8081
You can’t perform that action at this time.
0 commit comments