-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold.yaml
78 lines (74 loc) · 2.21 KB
/
skaffold.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
apiVersion: skaffold/v4beta9
kind: Config
metadata:
name: argo-workflows-events-v2
manifests:
rawYaml:
- manifests/crds/argo-workflows-crds.yaml
- manifests/crds/argo-events-crds.yaml
- manifests/namespaced/argo-workflows-namespaced.yaml
- manifests/namespaced/argo-events-namespaced.yaml
- manifests/config/workflows-controller-configmap.yaml
- manifests/token/secret.yaml
- manifests/namespaced/patch-role.yaml
- manifests/minio/minio.yaml
- manifests/metrics.yaml
- manifests/priorities.yaml
deploy:
helm:
releases:
- name: argo-prometheus
repo: https://prometheus-community.github.io/helm-charts/
remoteChart: kube-prometheus-stack # prometheus
namespace: argo-prometheus
createNamespace: true
wait: true
setValues:
crds:
enabled: true
prometheus:
prometheusSpec:
serviceMonitorSelectorNilUsesHelmValues: false
kubectl:
flags:
global: # additional flags passed on every command.
- --namespace=ns1
hooks:
after:
- host:
command: ["sh", "-c", "./wait-for-it.sh"]
os: [darwin, linux]
- host:
command: ["sh", "-c", "./get_token.sh"]
os: [darwin, linux]
portForward:
- resourceType: service
resourceName: argo-server
namespace: ns1
port: 2746
localPort: 2746
- resourceType: service
resourceName: minio
namespace: ns1
port: 9000
localPort: 9000
- resourceType: service
resourceName: minio
namespace: ns1
port: 9001
localPort: 9001
- resourceType: service
resourceName: workflow-controller-metrics
namespace: ns1
port: 9090 # Target port on the pod
localPort: 9091 # Local port on your machine
- resourceType: service
resourceName: argo-prometheus-kube-prome-prometheus
namespace: argo-prometheus # Optional, if you are using a specific namespace
port: 9090 # Target port on the pod
localPort: 9090 # Local port on your machine
- resourceType: service
resourceName: argo-prometheus-grafana
namespace: argo-prometheus # Optional, if you are using a specific namespace
port: 80 # Target port on the pod
localPort: 3000 # Local port on your machine