Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 1 | apiVersion: v1 |
| 2 | kind: ReplicationController |
| 3 | metadata: |
| 4 | name: msoreplicationcontroller |
| 5 | spec: |
| 6 | replicas: 1 |
| 7 | selector: |
| 8 | app: mchanmsopod |
| 9 | template: |
| 10 | metadata: |
| 11 | labels: |
| 12 | app: mchanmsopod |
| 13 | spec: |
| 14 | containers: |
| 15 | - name: mchancontainer |
| 16 | image: mercechan/msoadapters:kube |
| 17 | command: ["java"] |
| 18 | args: ["-jar","-Dspring.profiles.active=dev","mso-openstack-adapters-1.1.0-SNAPSHOT.jar"] |
| 19 | ports: |
| 20 | - containerPort: 8080 |
| 21 | restartPolicy: Always |