aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-openstack-adapters/Deployment/pod_rc.yaml
blob: 4cc95c6762d01154ed11bb69ccddc49c01ed2f80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
apiVersion: v1
kind: ReplicationController
metadata:
  name: msoreplicationcontroller
spec:
  replicas: 1
  selector:
    app: mchanmsopod
  template:
    metadata:
      labels:
        app: mchanmsopod
    spec:
      containers:
      - name: mchancontainer
        image: mercechan/msoadapters:kube
        command: ["java"]
        args: ["-jar","-Dspring.profiles.active=dev","mso-openstack-adapters-1.1.0-SNAPSHOT.jar"]
        ports:
        - containerPort: 8080
      restartPolicy: Always