kubernetes
Last updated
Was this helpful?
Last updated
Was this helpful?
namespace
quota
sa.yml
ca.crt
client.crt & client.key
cert.pfx
[!NOTE]
url
by default:
http://<service-name>.<namespace>.svc.cluster.local:8080
Manage Jenkins
-> Configure System
or Manage Jenkins
-> Manage Nodes and Clouds
-> Configure Clouds
Add a new Cloud
-> Kuberentes
Name
:
Kubernetes URL
:
get from $ kubectl cluster-info
using https://kubernetes.default.svc.cluster.local
Kubernetes server certificate key
: content of ca.crt
. ($ cat ca.crt
)
Credentials
:
Add
-> Jenkins
Kind: Certificate
setup in jenkins
get Kubernetes URL
generate CA
or
Generate token in kubernetes
setup sa
get token
more info
setup in Jenkins
[!TIP] simplely it can be executed via commands:
[!NOTE]:
<role-binding-name>
can be the same as<service-account>
[!NOTE|label:references:]
in kubernetes
copy secrets to all namespaces
in podTemplate
[!NOTE]
thinking
credential setup
cloud setup
using
or
or
or
solution: