ktimoney | 3570d5a | 2022-05-24 13:54:55 +0100 | [diff] [blame] | 1 | # |
| 2 | # ============LICENSE_START======================================================= |
| 3 | # Copyright (C) 2022 Nordix Foundation. |
| 4 | # ================================================================================ |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # |
| 17 | # SPDX-License-Identifier: Apache-2.0 |
| 18 | # ============LICENSE_END========================================================= |
| 19 | # |
ktimoney | 6be0529 | 2022-03-02 12:53:14 +0000 | [diff] [blame] | 20 | apiVersion: apps/v1 |
| 21 | kind: Deployment |
| 22 | metadata: |
| 23 | name: rapps-istio-mgr-deployment |
| 24 | namespace: default |
| 25 | labels: |
| 26 | app: rapps-istio-mgr |
| 27 | spec: |
| 28 | selector: |
| 29 | matchLabels: |
| 30 | app: rapps-istio-mgr |
| 31 | template: |
| 32 | metadata: |
| 33 | labels: |
| 34 | app: rapps-istio-mgr |
| 35 | version: v1 |
| 36 | spec: |
| 37 | containers: |
| 38 | - name: rapps-istio-mgr |
| 39 | image: ktimoney/rapps-istio-mgr |
| 40 | imagePullPolicy: IfNotPresent |
| 41 | ports: |
| 42 | - containerPort: 9000 |
| 43 | resources: |
| 44 | limits: |
| 45 | memory: 256Mi |
| 46 | cpu: "250m" |
| 47 | requests: |
| 48 | memory: 128Mi |
| 49 | cpu: "80m" |
| 50 | serviceAccountName: helm-app |
| 51 | replicas: 1 |
| 52 | --- |
| 53 | apiVersion: v1 |
| 54 | kind: Service |
| 55 | metadata: |
| 56 | name: rapps-istio-mgr |
| 57 | namespace: default |
| 58 | spec: |
| 59 | selector: |
| 60 | app: rapps-istio-mgr |
| 61 | ports: |
| 62 | - protocol: TCP |
| 63 | port: 80 |
| 64 | targetPort: 9000 |
| 65 | nodePort: 31590 |
| 66 | type: NodePort |