| # |
| #================================================================================== |
| # Copyright (c) 2019 AT&T Intellectual Property. |
| # Copyright (c) 2019 Nokia |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| #================================================================================== |
| # |
| # |
| # Abstract: RCO Stub xApp Kubernetes manifest |
| # Date: 28 May 2019 |
| # |
| apiVersion: apps/v1 |
| kind: Deployment |
| metadata: |
| name: rco |
| namespace: example |
| spec: |
| replicas: 1 |
| selector: |
| matchLabels: |
| app: rco |
| template: |
| metadata: |
| labels: |
| app: rco |
| spec: |
| containers: |
| - name: rco |
| image: cmaster:5000/rco:builder |
| command: ["/run_rco.sh"] |
| env: |
| - name: DBAAS_SERVICE_HOST |
| value: dbaas |
| - name: RCO_RAWDATA |
| value: 000003ea7e000500aaaaccccea6300020000ea81000e00045465737400ea6b0003000100 |
| - name: RCO_SEED_SN |
| value: "9999" |
| ports: |
| - containerPort: 8080 |
| - containerPort: 4560 |
| - containerPort: 4561 |