Skip to content

Commit 2a57f0f

Browse files
authored
Merge pull request #1123 from aHenryJard/add-troubleshooting
2 parents 81aaf9e + 2cfd1de commit 2a57f0f

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,26 @@ see the [Docker image source code](https://github.com/jenkinsci/docker-inbound-a
2525

2626
It is not required to run the Jenkins controller inside Kubernetes.
2727

28+
# 📜 Table of Contents
29+
30+
- [Generic setup](#-generic-setup)
31+
- [Usage](#-usage)
32+
- [Configuration reference](#-configuration-reference)
33+
- [Inheritance](#-inheritance)
34+
- [Declarative Pipeline](#-declarative-pipeline)
35+
- [Misc.](#-misc.)
36+
- [Running on OpenShift](#-running-on-openshift)
37+
- [Features controlled using system properties](#-features-controlled-using-system-properties)
38+
- [Windows support](#-windows-support)
39+
- [Constraints](#-constraints)
40+
- [Configuration on minikube](#-configuration-on-minikube)
41+
- [Configuration on Google Container Engine](#-configuration-on-google-container-engine)
42+
- [Troubleshooting 🔨](#-troubleshooting)
43+
- [Building and Testing](#-building-and-testing)
44+
- [Docker image](#-docker-image)
45+
- [Running in Kubernetes](#-running-in-kubernetes)
46+
- [Related Projects](#-related-projects)
47+
2848
# Generic Setup
2949
## Prerequisites
3050
* A running Kubernetes cluster 1.14 or later. For OpenShift users, this means OpenShift Container Platform 4.x.
@@ -923,6 +943,32 @@ Then, use it as the `jnlp` container for the pod template as usual. No command o
923943
>
924944
> * When using the WebSocket mode, the `-disableHttpsCertValidation` on the `jenkins/inbound-agent` becomes unavailable, as well as `-cert`, and that's why you have to extend the docker image.
925945

946+
## [WARNING] label option is deprecated
947+
948+
[WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option.
949+
950+
```
951+
You need to change from something like:
952+
953+
```
954+
agent {
955+
kubernetes {
956+
label 'somelabel'
957+
}
958+
}
959+
```
960+
961+
To something like:
962+
963+
```
964+
agent {
965+
kubernetes {
966+
inheritFrom 'somelabel'
967+
}
968+
}
969+
```
970+
971+
926972
# Building and Testing
927973

928974
Integration tests will use the currently configured context auto-detected from kube config file or service account.

0 commit comments

Comments
 (0)