Created
May 29, 2020 08:56
-
-
Save xcoulon/cf305578de48e5ea48f8af0dc86ece36 to your computer and use it in GitHub Desktop.
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: v1 | |
items: | |
- apiVersion: v1 | |
kind: Service | |
metadata: | |
annotations: | |
kompose.cmd: kompose convert -f docker-compose.yaml -o localregistry.yaml | |
kompose.version: 1.1.0 (36652f6) | |
creationTimestamp: null | |
labels: | |
io.kompose.service: nginx | |
name: nginx | |
spec: | |
ports: | |
- name: "443" | |
port: 443 | |
targetPort: 443 | |
selector: | |
io.kompose.service: nginx | |
status: | |
loadBalancer: {} | |
- apiVersion: v1 | |
kind: Service | |
metadata: | |
annotations: | |
kompose.cmd: kompose convert -f docker-compose.yaml -o localregistry.yaml | |
kompose.version: 1.1.0 (36652f6) | |
creationTimestamp: null | |
labels: | |
io.kompose.service: registry | |
name: registry | |
spec: | |
ports: | |
- name: "5000" | |
port: 5000 | |
targetPort: 5000 | |
selector: | |
io.kompose.service: registry | |
status: | |
loadBalancer: {} | |
- apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
annotations: | |
kompose.cmd: kompose convert -f docker-compose.yaml -o localregistry.yaml | |
kompose.version: 1.1.0 (36652f6) | |
creationTimestamp: null | |
labels: | |
io.kompose.service: nginx | |
name: nginx | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
io.kompose.service: nginx | |
strategy: | |
type: Recreate | |
template: | |
metadata: | |
creationTimestamp: null | |
labels: | |
io.kompose.service: nginx | |
spec: | |
containers: | |
- image: nginx:1.17 | |
name: nginx | |
ports: | |
- containerPort: 443 | |
resources: {} | |
volumeMounts: | |
- mountPath: /etc/nginx/conf.d | |
name: nginx-claim0 | |
restartPolicy: Always | |
volumes: | |
- name: nginx-claim0 | |
persistentVolumeClaim: | |
claimName: nginx-claim0 | |
status: {} | |
- apiVersion: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
creationTimestamp: null | |
labels: | |
io.kompose.service: nginx-claim0 | |
name: nginx-claim0 | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: | |
storage: 100Mi | |
status: {} | |
- apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
annotations: | |
kompose.cmd: kompose convert -f docker-compose.yaml -o localregistry.yaml | |
kompose.version: 1.1.0 (36652f6) | |
creationTimestamp: null | |
labels: | |
io.kompose.service: registry | |
name: registry | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
io.kompose.service: registry | |
strategy: | |
type: Recreate | |
template: | |
metadata: | |
creationTimestamp: null | |
labels: | |
io.kompose.service: registry | |
spec: | |
containers: | |
- env: | |
- name: REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY | |
value: /data | |
image: registry:2 | |
name: registry | |
ports: | |
- containerPort: 5000 | |
hostIP: 127.0.0.1 | |
resources: {} | |
volumeMounts: | |
- mountPath: /data | |
name: registry-claim0 | |
restartPolicy: Always | |
volumes: | |
- name: registry-claim0 | |
persistentVolumeClaim: | |
claimName: registry-claim0 | |
status: {} | |
- apiVersion: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
creationTimestamp: null | |
labels: | |
io.kompose.service: registry-claim0 | |
name: registry-claim0 | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: | |
storage: 100Mi | |
status: {} | |
kind: List | |
metadata: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment