blob: 69a8fcbd6d356fb5990f9f77d38e907997e2346b [file] [log] [blame]
# Copyright Istio Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: v1
kind: Service
metadata:
name: container-registry
labels:
app: container-registry
spec:
ports:
- name: http
port: 1338
selector:
app: container-registry
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: container-registry
spec:
replicas: 1
selector:
matchLabels:
app: container-registry
template:
metadata:
labels:
app: container-registry
spec:
containers:
- image: gcr.io/istio-testing/fake-registry:1.0
name: container-registry
ports:
- containerPort: 1338
readinessProbe:
httpGet:
path: /ready
port: 1338
initialDelaySeconds: 1
periodSeconds: 1
failureThreshold: 10
---