kubernetes-in-action | Code from the Kubernetes in Action book | Learning library
kandi X-RAY | kubernetes-in-action Summary
kandi X-RAY | kubernetes-in-action Summary
This repository contains all the code (and some additional files) from my Kubernetes in Action book. The files for the second edition of the book are in a different repository.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- performs a GET request
- check file exists
kubernetes-in-action Key Features
kubernetes-in-action Examples and Code Snippets
Community Discussions
Trending Discussions on kubernetes-in-action
QUESTION
I am reading "Kubernetes in Action" and trying samples from the book. I have created a pod:
...ANSWER
Answered 2020-May-21 at 14:33You have a selector app: kubia
in the service. So the pods need have a label app=kubia
otherwise the service will not have Endpoints
populated with Pod IPs and does not know where to send the traffic . You can use kubectl describe svc kubia
command to check if the service has Pod IPs in the Endpoints
section.
Check the docs for more debugging with service.
QUESTION
I'm working through chapter 5.3 of Kubernetes In Action by Marko Luska. I'm creating a nodeport service from the following file:
...ANSWER
Answered 2020-Feb-04 at 16:17Probably because this was the case in 2017 and it's not anymore.
The question you're referencing are from 2016 and 2017.
Since then you'll always see unless it's a LoadBalancer. See this particular comment on github which is from 2019.
Sorry I can't find the PR nor the issue corresponding to that change.
QUESTION
I'm having trouble with the examples in section 5.1.1 Using Named Ports of Kubernetes In Action by Marko Luksa. The example goes like this:
First - CreateI'm creating a pod with a named port that runs a Node.js container that responds with You've hit
when it's hit:
ANSWER
Answered 2020-Feb-03 at 17:17This is known issue with minikube. Pod cannot reach itself via service IP. You can try accesing your service from a different pod or use the following workaround to fix this.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install kubernetes-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