-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
Jenkins 2.387.3
kubernetes plugin 3651.v908e7db_10d06
We are having image defined as nexus:4000/ci-slave:2.6.3 in podtemplate.
via declarative pipeline i am passing below config as yaml:
apiVersion: v1
kind: Pod
spec:
containers:
- image: "nexus:4000/ci-slave:2.3.1"
name: 'jnlp'
resources:
limits:
cpu: '1'
memory: 1Gi
requests:
cpu: 10m
memory: 50Mi
It is provisioning new pod with changed cpu and memory but image 2.3.1 is not reflecting. the pod spinned is still coming with 2.6.3
The documentation says that image can be over ridden
[Kubernetes | Jenkins plugin|https://plugins.jenkins.io/kubernetes/]
search for text" we will inherit from a pod template we created previously, and will just override the version of maven so that it uses jdk-11 instead:"