Posts

Showing posts with the label kubernetes

kubernetes jenkins-plugins - JnlpProtocol3 is disabled by default, use JNLP_PROTOCOL_OPTS to alter the behavior

Image
I am trying to configure Jenkin on my kubernetes cluster following steps from here https://radu-matei.com/blog/kubernetes-jenkins-azure/ from the slave I see JNLP Disabled not sure where I need to set this variable, tried in Jenkins global environment variable setting, it didn't work. How can I set this variable? Here is my jenkin configuration. I think, you should change Jenkins URL to serviceName and use port 8080, something like this: By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

How to get k8s master logs on EKS?

I am looking for these logs: In EKS user does not have access to the control plane and can't see these files directly. I am aware of CloudTrail integration announced by AWS. But it shows events not from k8s API, but AWS EKS API like CreateCluster event. Also the open question how to get scheduler and controller manager logs. There is no pods for api and controller in pods list. There is no master nodes in the node list Things like kube-api server logs, the kube-scheduler logs, the kube-controller manager logs, etc. will be available in CloudWatch logs. While (as you have stated) EKS API calls will be logged to cloudtrail. **I take that back, I guess AWS EKS has not gotten around to that yet. You will need to use an EFK stack to get the logs. Someone has already put together a quick how-to: https://github.com/aws-samples/aws-workshop-for-kubernetes/tree/master/02-path-working-with-clusters/204-cluster-logging-with-EFK By clicking "...