-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Merge stage to testnet (#111)
* chore: Correct path for kubeconfig (#67) Correct name for kubeconfig * chore: fixed ccp-worker version (#68) fixed ccp-worker version * chore: Add release-please for terraform modules (#73) * lightmare chart -> 0.1.1 (#75) * chore: Separate module releases (#77) Separate releases * chore: Bump module version in examples (#81) Bump version * chore: Fix path in extra-files version bump (#82) F * chore: Correct version bump in examples (#86) Correct version bump in examples * chore(deps): update hashicorp/vault-action action to v3.1.0 (#66) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(main): release terraform-module-spectrum 0.1.0 (#89) * chore(main): release terraform-module-talos 0.1.0 (#88) Co-authored-by: Anatolios Laskaris <[email protected]> * chore(main): release terraform-module-k3s 0.1.0 (#87) Co-authored-by: Anatolios Laskaris <[email protected]> * chore(deps): update helm release kubernetes-dashboard to v7.10.1 (#70) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat: Update talos to version 1.9.1 and add selinux workaround (#90) Update talos to version 1.9.1 and add selinux workaround * feat!: talos multinode initial support (#72) * Update * Fix instance type * Fix name * F * chore: Actually login to docker registry (#92) Actually login to docker registry * chore: Fix kubeconfig missing (#93) * chore: Fix kubeconfig * fix: kubeconfig creation waits for bootstrap (#94) Kubeconfig depends on bootstrap * chore(main): release terraform-module-talos 0.2.0 (#91) * chore: Bump kubevirt cdi (#96) Bump kubevirt cdi * feat: Setup system metrics collection (host, k8s, cilium, kubevirt) (#95) * fix: Bump talos version to 1.9.2 (#98) * chore(main): release terraform-module-spectrum 0.1.1 (#99) * chore(main): release terraform-module-talos 0.2.1 (#100) Co-authored-by: Anatolios Laskaris <[email protected]> * fix: Disable creation of service monitor for now (#102) * Disable cilium metrics for now * Disable kubevirt metrics for now * chore(main): release terraform-module-spectrum 0.1.1 (#101) * chore: Fix dependency on service-monitor and collect metrics from kube-scheduler and kube-controller (#103) * chore: Disable eip on ephemeral instance (#108) Disable eip on ephemeral instance * chore: Test metrics push (#107) * feat: update ccp-cu-worker to 0.16.1 (#109) update ccp-cu-worker to 0.16.1 * chore(deps): update dependency rancher/local-path-provisioner to v0.0.31 (#105) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --------- Co-authored-by: Enje Shakirova <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: fluencebot <[email protected]> Co-authored-by: Mike Voronov <[email protected]>
- Loading branch information
1 parent
1f63d8f
commit d151858
Showing
48 changed files
with
24,347 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
{} | ||
{ | ||
"terraform-modules/talos": "0.2.1", | ||
"terraform-modules/spectrum": "0.1.1", | ||
"terraform-modules/k3s": "0.1.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,9 @@ | ||
module "k3s" { | ||
source = "github.com/fluencelabs/spectrum//terraform-modules/k3s" | ||
source = "git::https://github.com/fluencelabs/spectrum.git//terraform-modules/k3s?ref=terraform-module-k3s-v0.1.0" # x-release-please-version | ||
kubeconfigs_location = "${path.root}/secrets" | ||
server_name = local.server_name | ||
server_ip_address = local.server_ip_address | ||
ssh_key = local.ssh_key | ||
ssh_user = local.ssh_user | ||
ssh_port = local.ssh_port | ||
} | ||
|
||
provider "helm" { | ||
kubernetes { | ||
config_path = module.k3s.kubeconfig_file | ||
} | ||
} | ||
|
||
module "spectrum" { | ||
depends_on = [module.k3s] | ||
source = "github.com/fluencelabs/spectrum//terraform-modules/spectrum" | ||
cluster_flavour = "k3s" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
provider "helm" { | ||
kubernetes { | ||
config_path = module.k3s.kubeconfig_file | ||
} | ||
} | ||
|
||
module "spectrum" { | ||
depends_on = [module.k3s] | ||
source = "git::https://github.com/fluencelabs/spectrum.git//terraform-modules/spectrum?ref=terraform-module-spectrum-v0.1.1" # x-release-please-version | ||
cluster_flavour = "k3s" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
machine: | ||
time: | ||
servers: | ||
- time.cloudflare.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,6 @@ machine: | |
serial: Y0L0A031T5N8 | ||
|
||
network: | ||
hostname: foobar | ||
interfaces: | ||
- interface: bond0 | ||
dhcp: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module "spectrum" { | ||
depends_on = [module.talos] | ||
source = "git::https://github.com/fluencelabs/spectrum.git//terraform-modules/spectrum?ref=terraform-module-spectrum-v0.1.1" # x-release-please-version | ||
network = "main" | ||
cluster = "default" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
flux/components/monitoring/configs/kubernetes/kustomization.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
namespace: monitoring | ||
generatorOptions: | ||
disableNameSuffixHash: true | ||
labels: | ||
grafana_dashboard: "1" | ||
app.kubernetes.io/component: kubernetes | ||
app.kubernetes.io/part-of: spectrum-monitoring | ||
commonAnnotations: | ||
grafana_folder: "Kubernetes" | ||
|
||
configMapGenerator: | ||
- name: dashboards-k8s-views-global | ||
files: | ||
- https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/refs/tags/v2.5.3/dashboards/k8s-views-global.json | ||
|
||
- name: dashboards-k8s-views-namespaces | ||
files: | ||
- https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/refs/tags/v2.5.3/dashboards/k8s-views-namespaces.json | ||
|
||
- name: dashboards-k8s-views-nodes | ||
files: | ||
- https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/refs/tags/v2.5.3/dashboards/k8s-views-nodes.json | ||
|
||
- name: dashboards-k8s-views-pods | ||
files: | ||
- https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/refs/tags/v2.5.3/dashboards/k8s-views-pods.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: kubevirt-monitoring | ||
namespace: flux-system | ||
spec: | ||
interval: 1m0s | ||
path: ./flux/components/monitoring/configs/kubevirt | ||
prune: true | ||
sourceRef: | ||
kind: GitRepository | ||
name: spectrum | ||
namespace: flux-system | ||
dependsOn: | ||
- name: kubevirt | ||
namespace: flux-system |
18 changes: 18 additions & 0 deletions
18
flux/components/monitoring/configs/kubevirt/kustomization.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
namespace: monitoring | ||
resources: | ||
- service-monitor.yml | ||
generatorOptions: | ||
disableNameSuffixHash: true | ||
labels: | ||
grafana_dashboard: "1" | ||
app.kubernetes.io/part-of: spectrum-monitoring | ||
app.kubernetes.io/component: kubevirt | ||
commonAnnotations: | ||
grafana_folder: "Kubevirt" | ||
|
||
configMapGenerator: | ||
- name: dashboards-k8s-kubevirt | ||
files: | ||
- https://raw.githubusercontent.com/aenix-io/cozystack/refs/tags/v0.23.1/dashboards/kubevirt/kubevirt-control-plane.json |
19 changes: 19 additions & 0 deletions
19
flux/components/monitoring/configs/kubevirt/service-monitor.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: monitoring.coreos.com/v1 | ||
kind: ServiceMonitor | ||
metadata: | ||
name: kubevirt | ||
labels: | ||
app.kubernetes.io/part-of: spectrum-monitoring | ||
app.kubernetes.io/component: kubevirt | ||
spec: | ||
selector: | ||
matchLabels: | ||
prometheus.kubevirt.io: "true" | ||
namespaceSelector: | ||
matchNames: | ||
- kubevirt | ||
endpoints: | ||
- port: metrics | ||
scheme: https | ||
tlsConfig: | ||
insecureSkipVerify: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- flux | ||
- system | ||
- kubernetes | ||
- kubevirt.yml |
Oops, something went wrong.