Last active
April 27, 2021 02:21
-
-
Save relyt0925/68fcacfff8ee05c2414c28c00ec65ea8 to your computer and use it in GitHub Desktop.
test-private-registry-pull-ds.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
name: test-private-registry-pull-ds | |
spec: | |
selector: | |
matchLabels: | |
name: test-private-registry-pull-ds | |
template: | |
metadata: | |
labels: | |
name: test-private-registry-pull-ds | |
spec: | |
tolerations: | |
- operator: "Exists" | |
imagePullSecrets: | |
- name: docker-registry.default.svc.cluster.local-pull-secret | |
containers: | |
- image: docker-registry.default.svc.cluster.local:5000/openshift/httpd:2.4 | |
imagePullPolicy: Always | |
name: test-pull | |
command: | |
- sh | |
- -c | |
- set -x; while true; do sleep 7000; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment