Updated procedure for lab 9B
I'm running lab 9B and I noticed this removal notice in the fluxcd git repo:

So I tried following the new instructions here and here but they were not as clear to me as they were before. So this is what I did to make it work:
Cloned flux2-monitoring-example git repo:
git clone https://github.com/fluxcd/flux2-monitoring-example.gitCopied the monitoring folder in flux2-monitoring-example with all its content to my flux-infra folder
copied the ./clusters/test/monitoring.yaml file from flux2-monitoring-example to my flux-infra/clusters/staging folder
Commited everything, pushed to main remote, and reconciled.
- After some time the kube-prometheus-stack and the loki-stack are deployed in the monitoring namespace:

After this point the lab instructions can be resumed, taking into account that the service that has to be modified from clusterip to nodeport is kube-prometheus-stack-grafana, and the kustomization that needs to be suspended is called monitoring-controllers
Comments
-
Hi @danilogranadosg,
Thanks for informing us of the Flux change! We'll check on it and modify the documentation accordingly.
Regards,
Luis.0 -
Hi @danilogranadosg,
Did you get any warning or issue when running the Flux commands or going through the lab?
Regards,
Luis.0 -
Yes I did. That's what led me to check the ./manifests/monitoring path in the fluxcd/flux2 repo. I'm sorry I don't have a screenshot or the error message. If you check the procedure, the first step in the lab document makes a direct reference to this path in the following commands:
flux create source git flux-monitoring \ --interval=30m \ --url=https://github.com/fluxcd/flux2 \ --branch=main
And then create a Kustomization to deploy Prometheus and Grafana:
flux create kustomization kube-prometheus-stack \ --interval=1h \ --prune \ --source=flux-monitoring \ --path="./manifests/monitoring/kube-prometheus-stack" \ --health-check-timeout=5m \ --wait
flux create kustomization monitoring-config \ --depends-on=kube-prometheus-stack \ --interval=1h \ --prune=true \ --source=flux-monitoring \ --path="./manifests/monitoring/monitoring-config" \ --health-check-timeout=1m \ --wait
The deployment of the kube-prometheus-stack never finishes because the following paths do not exist anymore:
--path="./manifests/monitoring/kube-prometheus-stack
--path="./manifests/monitoring/monitoring-config" \I hope that helps.
1 -
Hi @danilogranadosg,
Ok, thanks for the information. I'll try to reproduce the issue and will take the corresponding actions in regards the material.
Regards,
Luis.0
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 768 Linux Foundation IT Professional Programs
- 379 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 75 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 101 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 4 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 11 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 2 Open Source Best Practice Training
- 3 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 796 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 91 Storage
- 771 Linux Distributions
- 81 Debian
- 68 Fedora
- 23 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 120 Mobile Computing
- 20 Android
- 85 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 395 Off Topic
- 121 Introductions
- 30 Study Material
- 1K Programming and Development
- 310 Kernel Development
- 692 Software Development
- 1K Software
- 400 Applications
- 182 Command Line
- 5 Compiling/Installing
- 69 Games
- 318 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)