Files
weave-scope/examples/k8s/deploy.yaml
Akash Srivastava 296c6f2ab5 Fix issues in k8s yaml files (#3403)
- Change apigroups to apiGroups in cluster-role.yaml
- Change resourcenames to resourceNames in cluster-role.yaml
- Add selector in deploy.yaml and ds.yaml

Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io>
2018-10-26 11:19:52 +05:30

36 lines
819 B
YAML

# borrowed from https://cloud.weave.works/k8s/scope.yaml?k8s-version=1.9.3
apiVersion: apps/v1
kind: Deployment
metadata:
name: weave-scope-app
labels:
name: weave-scope-app
app: weave-scope
weave-cloud-component: scope
weave-scope-component: app
namespace: weave
spec:
replicas: 1
selector:
matchLabels:
app: weave-scope
revisionHistoryLimit: 2
template:
metadata:
labels:
name: weave-scope-app
app: weave-scope
weave-cloud-component: scope
weave-scope-component: app
spec:
containers:
- name: app
args:
- '--no-probe'
env: []
image: weaveworks/scope:1.9.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 4040
protocol: TCP