Lab 4.1 - cluster installation fails due to kuberhealthy
Hi all,
The cluster installation seem not so straightforward on GCP, with terraform apply command
I had some issues with IAM accounts creation failing, some errors due to number of occurrence limitation of google API, all that was solved by retrying again several times the command tf apply (I also manually upgraded the k8s cluster version to 1.23 directly in the GCP console)
at the end there was still an error seemingly due to kuberhealthy, with a CRD ressource not found in the API version mentioned. here is the error :
module.jx.module.cluster.module.jx-health[0].helm_release.kuberhealthy: Creating...
╷
│ Error: failed to install CRD crds/khcheck.yaml: resource mapping not found for name: "khchecks.comcast.github.io" namespace: "" from "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
│ ensure CRDs are installed first
│
│ with module.jx.module.cluster.module.jx-health[0].helm_release.kuberhealthy,
│ on .terraform/modules/jx.cluster.jx-health/main.tf line 1, in resource "helm_release" "kuberhealthy":
│ 1: resource "helm_release" "kuberhealthy" {
I found that this issue seem to be logged at the link below (quite recently) and that fortunately it is possible to install the cluster without kuberhealthy :
Let's hope that this partial installation will not geopardize the rest of the training and that this error will be fixed soon
I would appreciate any advise or hint, to troubleshoot this error, since for now I lack too much knowledge about terraform and its integration with helm to be able to identify the root cause of this issue
Laurent
Comments
-
Same here, I cannot deploy as per the instructions due to kuberhealthy. Thank you for the workaround Laurent.
0 -
Yup, same for me, but updating the values with kuberhealthy = false (after deleting both local / github repos > re cloning > pushing back to origin) returned with the same issue.
1 -
Hello,
Same here, due to kuberhealthy.
Some feedback about this ?Thank you.
0 -
Good morning, I was successful using the newest version follow the site:
github.com/jenkins-x/terraform-google-jx?ref=v1.11.2
https://jenkins-x.io/v3/admin/platforms/google/
However, I still have to use
kuberhealthy = false
jx verify install
Checking pod statuses
waiting up to 2m0s for pods to be ready
POD STATUS
jenkins-x-chartmuseum-6df8675776-w7z6n Running
jx-build-controller-86cb95f444-rwnfm Running
jx-pipelines-visualizer-677f5f9688-ff46v Running
jx-preview-gc-jobs-28027530-n25mq Succeeded
lighthouse-foghorn-68d6885645-9f526 Running
lighthouse-gc-jobs-28027530-r5sc5 Succeeded
lighthouse-keeper-666c8fbfbc-tgktc Running
lighthouse-tekton-controller-7f76dd795b-prm6h Running
lighthouse-webhooks-5487c5d4b7-sttfg Running
nexus-nexus-9547b94c7-hllzc Running0
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 750 Linux Foundation IT Professional Programs
- 373 Cloud Engineer IT Professional Program
- 169 Advanced Cloud Engineer IT Professional Program
- 74 DevOps IT Professional Program - Discontinued
- 4 DevOps & GitOps IT Professional Program
- 99 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 1 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 5 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
- 1 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 769 Linux Distributions
- 81 Debian
- 68 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 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
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 955 Programming and Development
- 310 Kernel Development
- 627 Software Development
- 984 Software
- 376 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 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)

