Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 9b7f8038 authored by Jamalac Orange's avatar Jamalac Orange
Browse files

feat(k8s): update nodeSelector

parent e13aeb10
No related branches found
No related tags found
1 merge request!110feat(k8s): update nodeSelector
Pipeline #697553 passed
......@@ -2,18 +2,16 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: submission-code-server-deployment
namespace: submission-code
labels:
app: submission-code # do not delete, used for billing
app: submission-code
spec:
revisionHistoryLimit: 1
selector:
matchLabels:
app: submission-code-server
template:
metadata:
labels:
app: submission-code-server # Bind by service selector>app:
app: submission-code-server
spec:
containers:
- name: submission-app
......@@ -46,6 +44,6 @@ spec:
- name: SPRING_FLYWAY_BASELINE_VERSION
value: "0"
nodeSelector:
cce.cloud.com/cce-nodepool: "caascad-inttac-ju-pod-tac-dashing-boa"
caascad.io/nodepool: "pod-tac"
imagePullSecrets:
- name: poc-inttac-poc-img-push-pull-secret
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: submission-code
resources:
- deployment.yml
- service.yml
......@@ -2,13 +2,12 @@ apiVersion: v1
kind: Service
metadata:
labels:
app: submission-code # do not delete, used for billing
name: submission-code-server-service # Service name
namespace: submission-code
app: submission-code
name: submission-code-server-service
spec:
type: NodePort
selector:
app: submission-code-server # Defines app that will be targeted
app: submission-code-server
ports:
- port: 80
targetPort: 8080
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment