You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[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
+
28
48
# Generic Setup
29
49
## Prerequisites
30
50
* 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
923
943
>
924
944
> * 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.
925
945
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
+
926
972
# Building and Testing
927
973
928
974
Integration tests will use the currently configured context auto-detected from kube config file or service account.
0 commit comments