Skip to content

Instantly share code, notes, and snippets.

@jazzdan
Last active November 19, 2018 22:10
Show Gist options
  • Save jazzdan/4b622709c7c5fe5a532bcaa0344efdeb to your computer and use it in GitHub Desktop.
Save jazzdan/4b622709c7c5fe5a532bcaa0344efdeb 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment