Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 2 additions & 16 deletions endpoints/getting-started/container-engine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.


apiVersion: v1
kind: Service
metadata:
Expand All @@ -23,9 +22,6 @@ spec:
targetPort: 8080
protocol: TCP
name: http
- port: 443
protocol: TCP
name: https
selector:
app: esp-echo
type: LoadBalancer
Expand All @@ -41,30 +37,20 @@ spec:
labels:
app: esp-echo
spec:
volumes:
- name: nginx-ssl
secret:
secretName: nginx-ssl
containers:
# [START esp]
- name: esp
image: b.gcr.io/endpoints/endpoints-runtime:0.3
args: [
"-p", "8080",
"-S", "443",
"-a", "127.0.0.1:8081",
"-s", "SERVICE_NAME",
"-v", "SERVICE_VERSION",
]
# [END esp]
ports:
- containerPort: 8080
- containerPort: 443
volumeMounts:
- mountPath: /etc/nginx/ssl
name: nginx-ssl
readOnly: true
- containerPort: 8080
- name: echo
image: gcr.io/google-samples/echo-python:1.0
ports:
- containerPort: 8081
- containerPort: 8081