gke-wordpress | Google Kubernetes Engine WordPress with Google Cloud SQL | GCP library
kandi X-RAY | gke-wordpress Summary
kandi X-RAY | gke-wordpress Summary
Deploy WordPress sites to Google Kubernetes Engine (GKE) clusters via Helm charts. Use as your own personal WordPress farm or as a backend to your own cloud hosting company.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gke-wordpress
gke-wordpress Key Features
gke-wordpress Examples and Code Snippets
Community Discussions
Trending Discussions on gke-wordpress
QUESTION
I've got a node pool defined with min instances set to 1 and max instances set to 5, and autoscaling enabled.
However it does not seem to be scaling down.
- I have cordoned a node.
- It has been over 12 hours
- There are no pending pods
- Removing a node would not reduce the amount of replicas of my own deployment
The node in question has the following pods running on it:
- fluentd
- kube-dns
- kube-proxy-gke
- metrics-server
- redis
All the pods above are in the kube-system
namespace besides the redis
pod which is defined within a daemonset.
Is there any additional configuration required? A pod disruption budget perhaps?
Output of kubectl describe -n kube-system configmap cluster-autoscaler-status
:
ANSWER
Answered 2018-Jun-18 at 09:53There are a few constraints that could prevent the node from scaling down.
You should verify the pods you listed one by one against the What types of pods can prevent CA from removing a node? documentation. This should help you discover if there is a pod that prevents it.
If it is indeed the redis
pod then you could try using the safe to evict annotation:
QUESTION
I'm not sure why I'm getting an error No nodes are available that match all of the following predicates:: Insufficient cpu (1)
.
I don't recall setting any CPU limits. Unless this is some default?
The output of kubectl describe pod wordpress
:
ANSWER
Answered 2017-Aug-08 at 17:52The error is pretty self explanatory, you are requesting 300m (100m per container in your pod) of cpu and your node doesn't have the budget to schedule it. (You seem to have just a 1 node cluster?)
You can describe the node to see how much cpu time is already scheduled.
I'm not sure what's adding those requests to your deployment though since you aren't stating those requirements in your template. Probably a resource quota.
QUESTION
I see this error in kubectl describe podName
:
ANSWER
Answered 2017-Aug-23 at 17:34ARGHUGIHIRHHHHHH.
I've been staring at this error for a day at least and for some reason I didn't comprehend it.
Essentially the error net/http: request canceled (Client.Timeout exceeded while awaiting headers)
means the container took longer then the timeout period (default of 1s).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gke-wordpress
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