@meshxdata/fops 0.1.40 → 0.1.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -376
- package/package.json +1 -1
- package/src/agent/llm.js +0 -2
- package/src/doctor.js +21 -93
- package/src/plugins/bundled/fops-plugin-1password/index.js +1 -13
- package/src/plugins/bundled/fops-plugin-azure/index.js +2 -4
- package/src/plugins/bundled/fops-plugin-azure/lib/azure-aks.js +2 -130
- package/src/plugins/bundled/fops-plugin-azure/lib/azure-auth.js +32 -68
- package/src/plugins/bundled/fops-plugin-azure/lib/azure-helpers.js +2 -64
- package/src/plugins/bundled/fops-plugin-azure/lib/azure-ops.js +28 -36
- package/src/plugins/bundled/fops-plugin-azure/lib/azure-shared-cache.js +1 -1
- package/src/plugins/bundled/fops-plugin-azure/lib/azure-sync.js +4 -4
- package/src/plugins/bundled/fops-plugin-azure/lib/azure-vm-lifecycle.js +10 -3
- package/src/plugins/bundled/fops-plugin-azure/lib/commands/infra-cmds.js +0 -4
- package/src/plugins/bundled/fops-plugin-azure/lib/commands/test-cmds.js +0 -22
- package/src/plugins/bundled/fops-plugin-azure/lib/commands/vm-cmds.js +30 -0
- package/src/plugins/bundled/fops-plugin-foundation/index.js +1 -18
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/apps/dai-backend.yaml +0 -13
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/apps/dai-frontend.yaml +0 -13
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/apps/foundation-backend.yaml +0 -13
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/apps/foundation-frontend.yaml +0 -13
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/apps/foundation-hive.yaml +0 -13
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/apps/foundation-kafka.yaml +0 -13
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/apps/foundation-meltano.yaml +0 -13
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/apps/foundation-mlflow.yaml +0 -13
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/apps/foundation-opa.yaml +0 -13
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/apps/foundation-processor.yaml +0 -13
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/apps/foundation-scheduler.yaml +0 -13
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/apps/foundation-storage-engine.yaml +0 -13
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/apps/foundation-trino.yaml +0 -13
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/apps/foundation-watcher.yaml +0 -13
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/config/repository.yaml +0 -66
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/kustomization.yaml +0 -30
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/operator/acr-webhook-controller.yaml +0 -63
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/operator/externalsecrets.yaml +0 -15
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/operator/istio.yaml +0 -42
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/operator/kafka.yaml +0 -15
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/operator/kube-reflector.yaml +0 -33
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/operator/kubecost.yaml +0 -12
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/operator/nats-server.yaml +0 -15
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/operator/prometheus-agent.yaml +0 -34
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/operator/reloader.yaml +0 -12
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/operator/spark.yaml +0 -112
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/operator/tailscale.yaml +0 -67
- package/src/plugins/bundled/fops-plugin-azure/templates/cluster/operator/vertical-pod-autoscaler.yaml +0 -15
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
2
|
-
kind: Kustomization
|
|
3
|
-
metadata:
|
|
4
|
-
name: spark
|
|
5
|
-
namespace: flux-system
|
|
6
|
-
spec:
|
|
7
|
-
interval: 1m0s
|
|
8
|
-
sourceRef:
|
|
9
|
-
kind: GitRepository
|
|
10
|
-
name: flux-system
|
|
11
|
-
path: ./infrastructure/spark-operator/launchpad
|
|
12
|
-
prune: false
|
|
13
|
-
dependsOn:
|
|
14
|
-
- name: velora
|
|
15
|
-
namespace: flux-system
|
|
16
|
-
- name: acr-webhook-controller
|
|
17
|
-
namespace: flux-system
|
|
18
|
-
patches:
|
|
19
|
-
- target:
|
|
20
|
-
kind: HelmRelease
|
|
21
|
-
name: spark-operator
|
|
22
|
-
namespace: flux-system
|
|
23
|
-
patch: |-
|
|
24
|
-
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
25
|
-
kind: HelmRelease
|
|
26
|
-
metadata:
|
|
27
|
-
name: spark-operator
|
|
28
|
-
namespace: flux-system
|
|
29
|
-
spec:
|
|
30
|
-
values:
|
|
31
|
-
image:
|
|
32
|
-
pullSecrets:
|
|
33
|
-
- name: ecr-credentials
|
|
34
|
-
spark:
|
|
35
|
-
jobNamespaces:
|
|
36
|
-
- velora
|
|
37
|
-
---
|
|
38
|
-
apiVersion: rbac.authorization.k8s.io/v1
|
|
39
|
-
kind: ClusterRole
|
|
40
|
-
metadata:
|
|
41
|
-
name: job-creator
|
|
42
|
-
namespace: velora
|
|
43
|
-
rules:
|
|
44
|
-
- apiGroups: [""]
|
|
45
|
-
resources: ["configmaps"]
|
|
46
|
-
verbs: ["create", "delete", "get"]
|
|
47
|
-
- apiGroups: [""]
|
|
48
|
-
resources: ["pods"]
|
|
49
|
-
verbs: ["get"]
|
|
50
|
-
- apiGroups: [""]
|
|
51
|
-
resources: ["pods/log"]
|
|
52
|
-
verbs: ["get"]
|
|
53
|
-
- apiGroups: [""]
|
|
54
|
-
resources: ["pods/status"]
|
|
55
|
-
verbs: ["get", "list", "watch"]
|
|
56
|
-
- apiGroups: ["sparkoperator.k8s.io"]
|
|
57
|
-
resources: ["sparkapplications"]
|
|
58
|
-
verbs: ["create", "delete", "get"]
|
|
59
|
-
- apiGroups: ["sparkoperator.k8s.io"]
|
|
60
|
-
resources: ["scheduledsparkapplications"]
|
|
61
|
-
verbs: ["create", "delete", "get", "patch"]
|
|
62
|
-
- apiGroups: [""]
|
|
63
|
-
resources: ["secrets"]
|
|
64
|
-
verbs: ["create", "delete", "get", "patch", "update"]
|
|
65
|
-
---
|
|
66
|
-
apiVersion: rbac.authorization.k8s.io/v1
|
|
67
|
-
kind: RoleBinding
|
|
68
|
-
metadata:
|
|
69
|
-
name: create-jobs
|
|
70
|
-
namespace: velora
|
|
71
|
-
subjects:
|
|
72
|
-
- kind: Group
|
|
73
|
-
name: system:serviceaccounts:foundation
|
|
74
|
-
apiGroup: rbac.authorization.k8s.io
|
|
75
|
-
roleRef:
|
|
76
|
-
kind: ClusterRole
|
|
77
|
-
name: job-creator
|
|
78
|
-
apiGroup: rbac.authorization.k8s.io
|
|
79
|
-
---
|
|
80
|
-
apiVersion: rbac.authorization.k8s.io/v1
|
|
81
|
-
kind: RoleBinding
|
|
82
|
-
metadata:
|
|
83
|
-
name: spark
|
|
84
|
-
namespace: velora
|
|
85
|
-
subjects:
|
|
86
|
-
- kind: Group
|
|
87
|
-
name: system:serviceaccounts:foundation
|
|
88
|
-
roleRef:
|
|
89
|
-
kind: ClusterRole
|
|
90
|
-
name: job-creator
|
|
91
|
-
apiGroup: rbac.authorization.k8s.io
|
|
92
|
-
---
|
|
93
|
-
apiVersion: rbac.authorization.k8s.io/v1
|
|
94
|
-
kind: RoleBinding
|
|
95
|
-
metadata:
|
|
96
|
-
name: allow-velora-sas-in-spark-jobs
|
|
97
|
-
namespace: spark-jobs
|
|
98
|
-
subjects:
|
|
99
|
-
- kind: Group
|
|
100
|
-
name: system:serviceaccounts:velora
|
|
101
|
-
apiGroup: rbac.authorization.k8s.io
|
|
102
|
-
roleRef:
|
|
103
|
-
kind: ClusterRole
|
|
104
|
-
name: job-creator
|
|
105
|
-
apiGroup: rbac.authorization.k8s.io
|
|
106
|
-
---
|
|
107
|
-
apiVersion: v1
|
|
108
|
-
kind: Namespace
|
|
109
|
-
metadata:
|
|
110
|
-
name: spark-jobs
|
|
111
|
-
labels:
|
|
112
|
-
name: spark-jobs
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
2
|
-
kind: Kustomization
|
|
3
|
-
metadata:
|
|
4
|
-
name: tailscale-operator
|
|
5
|
-
namespace: flux-system
|
|
6
|
-
spec:
|
|
7
|
-
interval: 1m0s
|
|
8
|
-
sourceRef:
|
|
9
|
-
kind: GitRepository
|
|
10
|
-
name: flux-system
|
|
11
|
-
path: ./infrastructure/tailscale/operator
|
|
12
|
-
prune: false
|
|
13
|
-
dependsOn:
|
|
14
|
-
- name: acr-webhook-controller
|
|
15
|
-
namespace: flux-system
|
|
16
|
-
patches:
|
|
17
|
-
- target:
|
|
18
|
-
kind: HelmRelease
|
|
19
|
-
name: tailscale-operator
|
|
20
|
-
namespace: flux-system
|
|
21
|
-
patch: |-
|
|
22
|
-
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
23
|
-
kind: HelmRelease
|
|
24
|
-
metadata:
|
|
25
|
-
name: tailscale-operator
|
|
26
|
-
namespace: flux-system
|
|
27
|
-
spec:
|
|
28
|
-
values:
|
|
29
|
-
oauth:
|
|
30
|
-
clientId: "{{TAILSCALE_CLIENT_ID}}"
|
|
31
|
-
clientSecret: "{{TAILSCALE_CLIENT_SECRET}}"
|
|
32
|
-
operatorConfig:
|
|
33
|
-
hostname: "{{CLUSTER_NAME}}"
|
|
34
|
-
---
|
|
35
|
-
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
36
|
-
kind: Kustomization
|
|
37
|
-
metadata:
|
|
38
|
-
name: tailscale-connector
|
|
39
|
-
namespace: flux-system
|
|
40
|
-
spec:
|
|
41
|
-
interval: 1m0s
|
|
42
|
-
sourceRef:
|
|
43
|
-
kind: GitRepository
|
|
44
|
-
name: flux-system
|
|
45
|
-
path: ./infrastructure/tailscale/connector
|
|
46
|
-
prune: false
|
|
47
|
-
dependsOn:
|
|
48
|
-
- name: tailscale-operator
|
|
49
|
-
patches:
|
|
50
|
-
- target:
|
|
51
|
-
kind: Connector
|
|
52
|
-
name: default-connector
|
|
53
|
-
namespace: tailscale
|
|
54
|
-
patch: |-
|
|
55
|
-
- op: replace
|
|
56
|
-
path: /metadata/name
|
|
57
|
-
value: "{{CLUSTER_NAME}}"
|
|
58
|
-
- op: replace
|
|
59
|
-
path: /spec/hostname
|
|
60
|
-
value: "{{CLUSTER_NAME}}"
|
|
61
|
-
- op: replace
|
|
62
|
-
path: /spec/exitNode
|
|
63
|
-
value: true
|
|
64
|
-
- op: replace
|
|
65
|
-
path: /spec/subnetRouter/advertiseRoutes
|
|
66
|
-
value:
|
|
67
|
-
- 10.50.0.0/16
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
2
|
-
kind: Kustomization
|
|
3
|
-
metadata:
|
|
4
|
-
name: vertical-pod-autoscaler
|
|
5
|
-
namespace: flux-system
|
|
6
|
-
spec:
|
|
7
|
-
interval: 1m0s
|
|
8
|
-
sourceRef:
|
|
9
|
-
kind: GitRepository
|
|
10
|
-
name: flux-system
|
|
11
|
-
path: ./infrastructure/vertical-pod-autoscaler/overlays/{{OVERLAY}}
|
|
12
|
-
prune: false
|
|
13
|
-
dependsOn:
|
|
14
|
-
- name: acr-webhook-controller
|
|
15
|
-
namespace: flux-system
|