k8s-in-action | 《Kubernetes in Action 中文版》 | BPM library
kandi X-RAY | k8s-in-action Summary
kandi X-RAY | k8s-in-action Summary
《Kubernetes in Action 中文版》
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- check file exists
k8s-in-action Key Features
k8s-in-action Examples and Code Snippets
Community Discussions
Trending Discussions on k8s-in-action
QUESTION
I build a k8s cluster on my virtual Machines(CentOS/7) with Virtual Box:
...ANSWER
Answered 2021-Jul-23 at 16:41Look at your event
Warning Unhealthy 11s (x182 over 30m) kubelet Readiness probe failed: ls: cannot access /var/ready: No such file or directory
Your readiness probe is failing- looks like it is checking for the existence of a file at /var/ready
.
Your next step is "does that make sense? Is my container going to actually write a file at /var/ready when its ready?" If so, you'll want to look at the logs from your pod and figure out why its not writing the file. If its NOT the correct check, look at the yaml you used to create your pod/deployment/replicaset whatever and replace that check with something that does make sense.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install k8s-in-action
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page