persistentvolumeclaim “jenkins-volume-claim” not found
up vote
0
down vote
favorite
In my minikube I'm getting an error persistentvolumeclaim "jenkins-volume-claim" not found
I'm installing jenkins using helm with the command below:
helm install --name jenkins -f kubernetes/jenkins-values.yaml stable/jenkins --namespace jenkins-system
the snippet about Persistence
in jenkins-values.yaml
is below:
Persistence:
Enabled: true
## A manually managed Persistent Volume and Claim
## Requires Persistence.Enabled: true
## If defined, PVC must be created manually before volume will be bound
ExistingClaim: jenkins-volume-claim
I've created a persistence volume using the command below:
kubectl create -f persistence.yaml
persistence.yaml looks like this:
apiVersion: v1
kind: PersistentVolume
metadata:
name: jenkins-volume
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 5Gi
hostPath:
path: /data/jenkins-volume/
Question
I have persistence volume jenkins-volume
created but am still getting error persistentvolumeclaim "jenkins-volume-claim" not found
. How can I resolve this?
jenkins kubernetes helm
add a comment |
up vote
0
down vote
favorite
In my minikube I'm getting an error persistentvolumeclaim "jenkins-volume-claim" not found
I'm installing jenkins using helm with the command below:
helm install --name jenkins -f kubernetes/jenkins-values.yaml stable/jenkins --namespace jenkins-system
the snippet about Persistence
in jenkins-values.yaml
is below:
Persistence:
Enabled: true
## A manually managed Persistent Volume and Claim
## Requires Persistence.Enabled: true
## If defined, PVC must be created manually before volume will be bound
ExistingClaim: jenkins-volume-claim
I've created a persistence volume using the command below:
kubectl create -f persistence.yaml
persistence.yaml looks like this:
apiVersion: v1
kind: PersistentVolume
metadata:
name: jenkins-volume
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 5Gi
hostPath:
path: /data/jenkins-volume/
Question
I have persistence volume jenkins-volume
created but am still getting error persistentvolumeclaim "jenkins-volume-claim" not found
. How can I resolve this?
jenkins kubernetes helm
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
In my minikube I'm getting an error persistentvolumeclaim "jenkins-volume-claim" not found
I'm installing jenkins using helm with the command below:
helm install --name jenkins -f kubernetes/jenkins-values.yaml stable/jenkins --namespace jenkins-system
the snippet about Persistence
in jenkins-values.yaml
is below:
Persistence:
Enabled: true
## A manually managed Persistent Volume and Claim
## Requires Persistence.Enabled: true
## If defined, PVC must be created manually before volume will be bound
ExistingClaim: jenkins-volume-claim
I've created a persistence volume using the command below:
kubectl create -f persistence.yaml
persistence.yaml looks like this:
apiVersion: v1
kind: PersistentVolume
metadata:
name: jenkins-volume
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 5Gi
hostPath:
path: /data/jenkins-volume/
Question
I have persistence volume jenkins-volume
created but am still getting error persistentvolumeclaim "jenkins-volume-claim" not found
. How can I resolve this?
jenkins kubernetes helm
In my minikube I'm getting an error persistentvolumeclaim "jenkins-volume-claim" not found
I'm installing jenkins using helm with the command below:
helm install --name jenkins -f kubernetes/jenkins-values.yaml stable/jenkins --namespace jenkins-system
the snippet about Persistence
in jenkins-values.yaml
is below:
Persistence:
Enabled: true
## A manually managed Persistent Volume and Claim
## Requires Persistence.Enabled: true
## If defined, PVC must be created manually before volume will be bound
ExistingClaim: jenkins-volume-claim
I've created a persistence volume using the command below:
kubectl create -f persistence.yaml
persistence.yaml looks like this:
apiVersion: v1
kind: PersistentVolume
metadata:
name: jenkins-volume
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 5Gi
hostPath:
path: /data/jenkins-volume/
Question
I have persistence volume jenkins-volume
created but am still getting error persistentvolumeclaim "jenkins-volume-claim" not found
. How can I resolve this?
jenkins kubernetes helm
jenkins kubernetes helm
asked Nov 10 at 12:13
Anthony
9,3262288172
9,3262288172
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
1
down vote
The error message points to missing PersistentVolumeClaim
named jenkins-volume-claim
. To create one, execute:
kubectl -n <namespace> create -f - <<EOF
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: jenkins-volume-claim
spec:
accessModes:
- ReadWriteOnce
volumeMode: Filesystem
resources:
requests:
storage: 5Gi
EOF
Executing after that kubectl get pv
should show the jenkins-volume
PV in Bound
status (assuming the PV has been created already with capacity of at least 5Gi).
Use selector(s) as described here to make sure the claim will bind to the desired pre-created PV (persistent volume) in case there are more than one PV available with proper capacity.
add a comment |
up vote
0
down vote
Look at this line,
## If defined, PVC must be created manually before volume will be bound
ExistingClaim: jenkins-volume-claim
So, you have to PersistentVolumeClaim
not PersistentVolume
with name jenkins-volume-claim
.
See what is PersistentVolumeClaim
from here: PersistentVolumeClaims
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
The error message points to missing PersistentVolumeClaim
named jenkins-volume-claim
. To create one, execute:
kubectl -n <namespace> create -f - <<EOF
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: jenkins-volume-claim
spec:
accessModes:
- ReadWriteOnce
volumeMode: Filesystem
resources:
requests:
storage: 5Gi
EOF
Executing after that kubectl get pv
should show the jenkins-volume
PV in Bound
status (assuming the PV has been created already with capacity of at least 5Gi).
Use selector(s) as described here to make sure the claim will bind to the desired pre-created PV (persistent volume) in case there are more than one PV available with proper capacity.
add a comment |
up vote
1
down vote
The error message points to missing PersistentVolumeClaim
named jenkins-volume-claim
. To create one, execute:
kubectl -n <namespace> create -f - <<EOF
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: jenkins-volume-claim
spec:
accessModes:
- ReadWriteOnce
volumeMode: Filesystem
resources:
requests:
storage: 5Gi
EOF
Executing after that kubectl get pv
should show the jenkins-volume
PV in Bound
status (assuming the PV has been created already with capacity of at least 5Gi).
Use selector(s) as described here to make sure the claim will bind to the desired pre-created PV (persistent volume) in case there are more than one PV available with proper capacity.
add a comment |
up vote
1
down vote
up vote
1
down vote
The error message points to missing PersistentVolumeClaim
named jenkins-volume-claim
. To create one, execute:
kubectl -n <namespace> create -f - <<EOF
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: jenkins-volume-claim
spec:
accessModes:
- ReadWriteOnce
volumeMode: Filesystem
resources:
requests:
storage: 5Gi
EOF
Executing after that kubectl get pv
should show the jenkins-volume
PV in Bound
status (assuming the PV has been created already with capacity of at least 5Gi).
Use selector(s) as described here to make sure the claim will bind to the desired pre-created PV (persistent volume) in case there are more than one PV available with proper capacity.
The error message points to missing PersistentVolumeClaim
named jenkins-volume-claim
. To create one, execute:
kubectl -n <namespace> create -f - <<EOF
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: jenkins-volume-claim
spec:
accessModes:
- ReadWriteOnce
volumeMode: Filesystem
resources:
requests:
storage: 5Gi
EOF
Executing after that kubectl get pv
should show the jenkins-volume
PV in Bound
status (assuming the PV has been created already with capacity of at least 5Gi).
Use selector(s) as described here to make sure the claim will bind to the desired pre-created PV (persistent volume) in case there are more than one PV available with proper capacity.
answered Nov 11 at 16:20
apisim
3215
3215
add a comment |
add a comment |
up vote
0
down vote
Look at this line,
## If defined, PVC must be created manually before volume will be bound
ExistingClaim: jenkins-volume-claim
So, you have to PersistentVolumeClaim
not PersistentVolume
with name jenkins-volume-claim
.
See what is PersistentVolumeClaim
from here: PersistentVolumeClaims
add a comment |
up vote
0
down vote
Look at this line,
## If defined, PVC must be created manually before volume will be bound
ExistingClaim: jenkins-volume-claim
So, you have to PersistentVolumeClaim
not PersistentVolume
with name jenkins-volume-claim
.
See what is PersistentVolumeClaim
from here: PersistentVolumeClaims
add a comment |
up vote
0
down vote
up vote
0
down vote
Look at this line,
## If defined, PVC must be created manually before volume will be bound
ExistingClaim: jenkins-volume-claim
So, you have to PersistentVolumeClaim
not PersistentVolume
with name jenkins-volume-claim
.
See what is PersistentVolumeClaim
from here: PersistentVolumeClaims
Look at this line,
## If defined, PVC must be created manually before volume will be bound
ExistingClaim: jenkins-volume-claim
So, you have to PersistentVolumeClaim
not PersistentVolume
with name jenkins-volume-claim
.
See what is PersistentVolumeClaim
from here: PersistentVolumeClaims
edited Nov 10 at 16:34
answered Nov 10 at 16:28
Emruz Hossain
74016
74016
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53238832%2fpersistentvolumeclaim-jenkins-volume-claim-not-found%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password