Skip to content

Commit

Permalink
Merge pull request #107 from mojaloop/feat/metrics-server
Browse files Browse the repository at this point in the history
Feat/metrics server
  • Loading branch information
jmutai authored Dec 12, 2024
2 parents 8461e77 + efabcca commit fc7726f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mojaloop/iac/playbooks/argomicrok8s_cluster_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
add_workers_to_hostfile: true
microk8s_plugins:
ingress: false # Ingress controller for external access
metrics-server: true # K8s Metrics Server for API access to service metrics
metrics-server: false # K8s Metrics Server for API access to service metrics
rbac: true # Role-Based Access Control for authorisation
hostpath-storage: true # Storage class; allocates storage from host directory
registry: "size={{ registry_size }}" # Private image registry exposed on localhost:32000
Expand Down
2 changes: 1 addition & 1 deletion mojaloop/iac/playbooks/ccmicrok8s_cluster_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
microk8s_plugins:
ingress: false # Ingress controller for external access
dns: false
metrics-server: true # K8s Metrics Server for API access to service metrics
metrics-server: false # K8s Metrics Server for API access to service metrics
rbac: true # Role-Based Access Control for authorisation
hostpath-storage: true # Storage class; allocates storage from host directory
registry: "size={{ registry_size }}" # Private image registry exposed on localhost:32000
Expand Down
3 changes: 3 additions & 0 deletions mojaloop/iac/roles/cc_k8s/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,9 @@ argocd_default:
user_rbac_group: "grafana_users"
mojaloop_dashboards_tag: "v16.3.0-snapshot.24"
dashboard_datasource_name: "Mimir"
metrics_server:
helm_version: "3.12.2"
replicas: "'1'"
mimir:
public_ingress_access_domain: "false"
helm_version: "1.2.10" # test this config
Expand Down
2 changes: 1 addition & 1 deletion mojaloop/iac/roles/microk8s/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ microk8s_plugins:
#dns: "{{ microk8s_dns_resolvers }}" # CoreDNS
host-access: true # Allow Pods connecting to Host services smoothly
ingress: false # Ingress controller for external access
metrics-server: true # K8s Metrics Server for API access to service metrics
metrics-server: false # K8s Metrics Server for API access to service metrics
rbac: true # Role-Based Access Control for authorisation
hostpath-storage: true # Storage class; allocates storage from host directory
registry: "size={{ registry_size }}" # Private image registry exposed on localhost:32000
Expand Down
2 changes: 1 addition & 1 deletion mojaloop/iac/roles/microk8s/tasks/addons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@
- item.status == 'enabled'
- item.name in microk8s_plugins
- item.name != 'dns'
- not microk8s_plugins[item.name]
- not microk8s_plugins[item.name]

0 comments on commit fc7726f

Please sign in to comment.