Created
September 13, 2025 07:46
-
-
Save ngotzmann/afbc52d8901505b85923bc411a2f96d7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| export default async function () { | |
| const config = ansibleConfigLoader.getConfig('./configs/prod.yml'); | |
| const k8sGroup = getGroupConfig(config, 'kubernetes'); | |
| const ungroupedConfig = getUngroupedConfig(config); | |
| const k8s = new Kubernetes({ | |
| config_path: ungroupedConfig.k8s_admin_cert_path | |
| }); | |
| describe('Validate that all nodes are healthy', () => { | |
| checkNodeHealth(k8s); | |
| }); | |
| describe('Validate that all k8s hosts can ping each other', () => { | |
| checkNodeConnection(k8sGroup, ungroupedConfig); | |
| }); | |
| describe('Validate that all pods in kube-system namespace are healthy', () => { | |
| validatePodsHealthInNamespace('kube-system', k8s); | |
| }); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment