When I am creating a container if I don’t specify any cpu or memory resources is there a default setting that DO sets of those containers? Im fairly new to k8s so im not sure how to look this up with kubectl.
Thank,
Chris
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
The default, I don’t know, but I can tell you this:
If you want to find out the resource limit / request then you can see the value by describing the deployment / pod, for example: kubectl describe deployment ping or kubectl describe pod ping. You will see something like this:
spec:
containers:
resources:
limits:
cpu: 300m
memory: 128Mi
You can read more about resource limiting on kubernetes.io
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.