--- apiVersion: v1 kind: Service metadata: labels: io.kompose.service: web name: web namespace: web spec: ports: - name: "80" port: 80 targetPort: 80 selector: io.kompose.service: web --- apiVersion: v1 kind: Namespace metadata: name: web namespace: web --- apiVersion: apps.openshift.io/v1 kind: DeploymentConfig metadata: labels: io.kompose.service: web name: web namespace: web spec: replicas: 1 selector: io.kompose.service: web template: metadata: labels: io.kompose.service: web spec: containers: - image: ' ' name: web ports: - containerPort: 80 protocol: TCP restartPolicy: Always test: false triggers: - type: ConfigChange - imageChangeParams: automatic: true containerNames: - web from: kind: ImageStreamTag name: web:latest type: ImageChange --- apiVersion: image.openshift.io/v1 kind: ImageStream metadata: labels: io.kompose.service: web name: web namespace: web spec: lookupPolicy: local: false tags: - from: kind: DockerImage name: nginx name: latest referencePolicy: type: ""