mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-27 08:40:23 +00:00
32 lines
674 B
YAML
32 lines
674 B
YAML
|
apiVersion: extensions/v1beta1
|
||
|
kind: DaemonSet
|
||
|
metadata:
|
||
|
name: omsagent
|
||
|
spec:
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: omsagent
|
||
|
spec:
|
||
|
containers:
|
||
|
- env:
|
||
|
- name: WSID
|
||
|
value: <your workspace ID>
|
||
|
- name: KEY
|
||
|
value: <your key>
|
||
|
image: microsoft/oms
|
||
|
name: omsagent
|
||
|
ports:
|
||
|
- containerPort: 25225
|
||
|
protocol: TCP
|
||
|
securityContext:
|
||
|
privileged: true
|
||
|
volumeMounts:
|
||
|
- mountPath: /var/run/docker.sock
|
||
|
name: docker-sock
|
||
|
volumes:
|
||
|
- name: docker-sock
|
||
|
hostPath:
|
||
|
path: /var/run/docker.sock
|
||
|
type: Socket
|