--- 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: ae00cfc7e0057fb2f9a79cf3152a76840f6ac915 fabric8.io/scm-con-url: scm:git:git@github.com:fabric8-apps/nexus-app.git fabric8.io/scm-url: http://github.com/fabric8-apps/nexus-app fabric8.io/git-branch: release-v1.0.1 fabric8.io/scm-devcon-url: scm:git:git@github.com:fabric8-apps/nexus-app.git fabric8.io/scm-tag: nexus-app-1.0.0 labels: expose: "true" provider: fabric8 project: nexus-app version: 1.0.1 group: io.fabric8.apps name: artifact-repository spec: ports: - port: 80 protocol: TCP targetPort: 8081 selector: project: nexus-app provider: fabric8 group: io.fabric8.apps - apiVersion: v1 kind: PersistentVolumeClaim metadata: labels: provider: fabric8 project: nexus-app version: 1.0.1 group: io.fabric8.apps name: nexus-storage spec: accessModes: - ReadWriteOnce resources: requests: storage: 1Gi - apiVersion: extensions/v1beta1 kind: Deployment metadata: annotations: fabric8.io/iconUrl: https://cdn.rawgit.com/fabric8io/fabric8-devops/master/nexus/src/main/fabric8/icon.png fabric8.io/git-commit: ae00cfc7e0057fb2f9a79cf3152a76840f6ac915 fabric8.io/metrics-path: dashboard/file/kubernetes-pods.json/?var-project=nexus-app&var-version=1.0.1 fabric8.io/scm-con-url: scm:git:git@github.com:fabric8-apps/nexus-app.git fabric8.io/scm-url: http://github.com/fabric8-apps/nexus-app fabric8.io/git-branch: release-v1.0.1 fabric8.io/scm-devcon-url: scm:git:git@github.com:fabric8-apps/nexus-app.git fabric8.io/scm-tag: nexus-app-1.0.0 labels: provider: fabric8 project: nexus-app version: 1.0.1 group: io.fabric8.apps name: nexus spec: replicas: 1 selector: matchLabels: project: nexus-app provider: fabric8 group: io.fabric8.apps template: metadata: annotations: fabric8.io/git-commit: ae00cfc7e0057fb2f9a79cf3152a76840f6ac915 fabric8.io/metrics-path: dashboard/file/kubernetes-pods.json/?var-project=nexus-app&var-version=1.0.1 fabric8.io/scm-con-url: scm:git:git@github.com:fabric8-apps/nexus-app.git fabric8.io/scm-url: http://github.com/fabric8-apps/nexus-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.1 fabric8.io/scm-devcon-url: scm:git:git@github.com:fabric8-apps/nexus-app.git fabric8.io/scm-tag: nexus-app-1.0.0 pod.alpha.kubernetes.io/init-containers: '[{"image":"busybox","imagePullPolicy":"IfNotPresent","name":"fmp-volume-permission","command":["chmod","777","/sonatype-work/storage"],"volumeMounts":[{"mountPath":"/sonatype-work/storage","name":"nexus-storage"}]}]' labels: provider: fabric8 project: nexus-app version: 1.0.1 group: io.fabric8.apps spec: containers: - env: - name: KUBERNETES_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace image: fabric8/nexus:vee72dc8 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 3 httpGet: path: /content/repositories/ port: 8081 initialDelaySeconds: 180 timeoutSeconds: 10 name: nexus ports: - containerPort: 8081 name: http readinessProbe: failureThreshold: 10 httpGet: path: /content/repositories/ port: 8081 initialDelaySeconds: 60 timeoutSeconds: 10 volumeMounts: - mountPath: /sonatype-work/storage name: nexus-storage readOnly: false volumes: - name: nexus-storage persistentVolumeClaim: claimName: nexus-storage