--- apiVersion: v1 kind: List items: - apiVersion: v1 kind: Service metadata: annotations: fabric8.io/app-menu: development fabric8.io/iconUrl: https://cdn.rawgit.com/fabric8io/fabric8-devops/master/nexus/src/main/fabric8/icon.png fabric8.io/git-commit: 87304d398df3cf8a6e4c139fb1e491f1f2d89a2a fabric8.io/scm-con-url: scm:git:git@github.com:fabric8-apps/nexus3-app.git fabric8.io/scm-url: http://github.com/fabric8-apps/nexus3-app fabric8.io/git-branch: release-v1.0.0 fabric8.io/scm-devcon-url: scm:git:git@github.com:fabric8-apps/nexus3-app.git fabric8.io/scm-tag: nexus3-app-1.0.0 labels: expose: "true" preview: "true" provider: fabric8 project: nexus3-app version: 1.0.0 group: io.fabric8.apps name: artifact-repository spec: ports: - port: 80 protocol: TCP targetPort: 8081 selector: project: nexus3-app provider: fabric8 group: io.fabric8.apps - apiVersion: v1 kind: PersistentVolumeClaim metadata: labels: provider: fabric8 project: nexus3-app version: 1.0.0 group: io.fabric8.apps name: nexus3-storage spec: accessModes: - ReadWriteOnce resources: requests: storage: 1Gi - apiVersion: v1 kind: DeploymentConfig metadata: annotations: fabric8.io/iconUrl: https://cdn.rawgit.com/fabric8io/fabric8-devops/master/nexus/src/main/fabric8/icon.png fabric8.io/git-commit: 87304d398df3cf8a6e4c139fb1e491f1f2d89a2a fabric8.io/metrics-path: dashboard/file/kubernetes-pods.json/?var-project=nexus3-app&var-version=1.0.0 fabric8.io/scm-con-url: scm:git:git@github.com:fabric8-apps/nexus3-app.git fabric8.io/scm-url: http://github.com/fabric8-apps/nexus3-app fabric8.io/git-branch: release-v1.0.0 fabric8.io/scm-devcon-url: scm:git:git@github.com:fabric8-apps/nexus3-app.git fabric8.io/scm-tag: nexus3-app-1.0.0 labels: preview: "true" provider: fabric8 project: nexus3-app version: 1.0.0 group: io.fabric8.apps name: nexus3 spec: replicas: 1 selector: project: nexus3-app provider: fabric8 group: io.fabric8.apps strategy: recreateParams: timeoutSeconds: 3600 type: Recreate template: metadata: annotations: fabric8.io/git-commit: 87304d398df3cf8a6e4c139fb1e491f1f2d89a2a fabric8.io/metrics-path: dashboard/file/kubernetes-pods.json/?var-project=nexus3-app&var-version=1.0.0 fabric8.io/scm-con-url: scm:git:git@github.com:fabric8-apps/nexus3-app.git fabric8.io/scm-url: http://github.com/fabric8-apps/nexus3-app fabric8.io/iconUrl: https://cdn.rawgit.com/fabric8io/fabric8-devops/master/nexus/src/main/fabric8/icon.png fabric8.io/git-branch: release-v1.0.0 fabric8.io/scm-devcon-url: scm:git:git@github.com:fabric8-apps/nexus3-app.git fabric8.io/scm-tag: nexus3-app-1.0.0 labels: fabric8.io/type: preview provider: fabric8 project: nexus3-app version: 1.0.0 group: io.fabric8.apps spec: containers: - image: test/nexus:dev3 imagePullPolicy: IfNotPresent lifecycle: postStart: exec: command: - /opt/sonatype/nexus/postStart.sh livenessProbe: httpGet: path: / port: 8081 initialDelaySeconds: 1000 timeoutSeconds: 10 name: nexus3 ports: - containerPort: 8081 name: http readinessProbe: httpGet: path: / port: 8081 initialDelaySeconds: 30 timeoutSeconds: 10 volumeMounts: - mountPath: /nexus-data name: nexus3-storage readOnly: false volumes: - name: nexus3-storage persistentVolumeClaim: claimName: nexus3-storage triggers: - type: ConfigChange - apiVersion: v1 kind: Route metadata: annotations: fabric8.io/app-menu: development fabric8.io/iconUrl: https://cdn.rawgit.com/fabric8io/fabric8-devops/master/nexus/src/main/fabric8/icon.png labels: expose: "true" preview: "true" provider: fabric8 project: nexus3-app version: 1.0.0 group: io.fabric8.apps name: artifact-repository spec: port: targetPort: 8081 to: kind: Service name: artifact-repository