Skip to content

Instantly share code, notes, and snippets.

@jazzdan
Created November 19, 2018 22:09
Show Gist options
  • Save jazzdan/0a2e83e595f441b58bfb212fc33aa8b7 to your computer and use it in GitHub Desktop.
Save jazzdan/0a2e83e595f441b58bfb212fc33aa8b7 to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.17.0 (HEAD)
creationTimestamp: null
labels:
io.kompose.service: clair
name: clair
spec:
replicas: 1
strategy:
type: Recreate
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: clair
spec:
containers:
- args:
- -config
- /config/config.yaml
image: quay.io/coreos/clair-git:latest
name: clair-clair
ports:
- containerPort: 6060
- containerPort: 6061
resources: {}
volumeMounts:
- mountPath: /tmp
name: clair-claim0
- mountPath: /config
name: clair-claim1
restartPolicy: Always
volumes:
- name: clair-claim0
persistentVolumeClaim:
claimName: clair-claim0
- name: clair-claim1
persistentVolumeClaim:
claimName: clair-claim1
status: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment