Gitlab - Argos ALM by PALO IT

Commit b1a606c8 authored by Palo IT's avatar Palo IT

modifying service name

parent d989052b
kind: Deployment kind: Deployment
apiVersion: apps/v1 apiVersion: apps/v1
metadata: metadata:
name: service-name name: demo-service
namespace: service-name namespace: demo-service
labels: labels:
app: service-name app: demo-service
tags.datadoghq.com/service: "service-name" tags.datadoghq.com/service: "demo-service"
spec: spec:
replicas: 1 replicas: 1
revisionHistoryLimit: 1 revisionHistoryLimit: 1
selector: selector:
matchLabels: matchLabels:
app: service-name app: demo-service
template: template:
metadata: metadata:
annotations: annotations:
...@@ -19,9 +19,9 @@ spec: ...@@ -19,9 +19,9 @@ spec:
config.linkerd.io/proxy-cpu-request: "0.2" config.linkerd.io/proxy-cpu-request: "0.2"
config.linkerd.io/proxy-memory-request: 128Mi config.linkerd.io/proxy-memory-request: 128Mi
labels: labels:
app: service-name app: demo-service
tags.datadoghq.com/env: "dev" tags.datadoghq.com/env: "dev"
tags.datadoghq.com/service: "service-name" tags.datadoghq.com/service: "demo-service"
tags.datadoghq.com/version: "0.0.1" tags.datadoghq.com/version: "0.0.1"
spec: spec:
volumes: volumes:
...@@ -29,7 +29,7 @@ spec: ...@@ -29,7 +29,7 @@ spec:
path: /var/run/datadog/ path: /var/run/datadog/
name: apmsocketpath name: apmsocketpath
containers: containers:
- name: service-name - name: demo-service
image: thisisafakeimagename:latest image: thisisafakeimagename:latest
volumeMounts: volumeMounts:
- name: apmsocketpath - name: apmsocketpath
......
apiVersion: v1 apiVersion: v1
kind: Namespace kind: Namespace
metadata: metadata:
name: service-name name: demo-service
\ No newline at end of file \ No newline at end of file
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: service-name name: demo-service
namespace: service-name namespace: demo-service
spec: spec:
selector: selector:
app: service-name app: demo-service
ports: ports:
- protocol: TCP - protocol: TCP
port: 9010 port: 9010
targetPort: 9010 targetPort: 9010
name: grpc
- protocol: TCP - protocol: TCP
port: 9011 port: 9011
targetPort: 9011 targetPort: 9011
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment