rename app to k8s-poolprovider
This commit is contained in:
Родитель
547a56e517
Коммит
54943efcb9
|
@ -2,7 +2,7 @@ apiVersion: apps/v1
|
|||
kind: StatefulSet
|
||||
metadata:
|
||||
labels:
|
||||
app: goserver
|
||||
app: k8s-poolprovider
|
||||
name: buildkitd
|
||||
namespace: azuredevops
|
||||
spec:
|
||||
|
@ -10,11 +10,11 @@ spec:
|
|||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: goserver
|
||||
app: k8s-poolprovider
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: goserver
|
||||
app: k8s-poolprovider
|
||||
role: buildkit
|
||||
annotations:
|
||||
container.apparmor.security.beta.kubernetes.io/buildkitd: unconfined
|
||||
|
@ -37,7 +37,7 @@ apiVersion: v1
|
|||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: goserver
|
||||
app: k8s-poolprovider
|
||||
name: buildkitd
|
||||
namespace: azuredevops
|
||||
spec:
|
||||
|
@ -45,4 +45,4 @@ spec:
|
|||
- port: 1234
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: goserver
|
||||
app: k8s-poolprovider
|
|
@ -3,7 +3,7 @@ kind: Namespace
|
|||
metadata:
|
||||
name: azuredevops
|
||||
labels:
|
||||
app: goserver
|
||||
app: k8s-poolprovider
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
|
@ -42,34 +42,34 @@ roleRef:
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: goserver
|
||||
name: k8s-poolprovider
|
||||
labels:
|
||||
app: goserver
|
||||
app: k8s-poolprovider
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- port: 8082
|
||||
selector:
|
||||
app: goserver
|
||||
app: k8s-poolprovider
|
||||
tier: frontend
|
||||
---
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: goserver
|
||||
name: k8s-poolprovider
|
||||
labels:
|
||||
app: goserver
|
||||
app: k8s-poolprovider
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: goserver
|
||||
app: k8s-poolprovider
|
||||
tier: frontend
|
||||
spec:
|
||||
serviceAccountName: pipelineprovider
|
||||
containers:
|
||||
- image: divyanshm/goserver:v2.08
|
||||
name: goserver
|
||||
- image: divyanshm/k8s-poolprovider:v2.08
|
||||
name: k8s-poolprovider
|
||||
command: ["/app/main"]
|
||||
ports:
|
||||
- containerPort: 8082
|
||||
|
@ -78,9 +78,9 @@ apiVersion: extensions/v1beta1
|
|||
kind: Ingress
|
||||
metadata:
|
||||
labels:
|
||||
app: goserver
|
||||
name: goserver
|
||||
app: k8s-poolprovider
|
||||
name: k8s-poolprovider
|
||||
spec:
|
||||
backend:
|
||||
serviceName: goserver
|
||||
serviceName: k8s-poolprovider
|
||||
servicePort: 8082
|
2
main.go
2
main.go
|
@ -8,7 +8,7 @@ import (
|
|||
|
||||
const (
|
||||
// Name of the application
|
||||
Name = "Argus"
|
||||
Name = "k8s-poolprovider"
|
||||
// Version of the application
|
||||
Version = "1.0.0"
|
||||
)
|
||||
|
|
Загрузка…
Ссылка в новой задаче