Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit52ef024

Browse files
committed
Update add-kubernetes-cluster.md
1 parent773c589 commit52ef024

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

‎_docs/deploy-to-kubernetes/add-kubernetes-cluster.md‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ aws eks --region region update-kubeconfig --name cluster_name
113113
Once you have access via`kubectl` then follow the[instructions]({{site.baseurl}}/docs/deploy-to-kubernetes/add-kubernetes-cluster/#get-cluster-configuration-manually) to obtain all the cluster details.
114114
To add the Amazon cluster, select*Amazon AWS* from the*ADD PROVIDER* drop-down menu and enter all details in the respective field in the Codefresh UI.
115115

116+
>On adding or upgrading to Kubernetes cluster version 1.23 or higher, you can encounter volume provisioning issues with Amazon Elastic Block Store (Amazon EBS). The EBS volumes cannot be attached and Codefresh builds stay in pending status with errors in pod logs.
117+
See[Volume provisioning issues for Amazon EBS](#volume-provisioning-issues-for-amazon-ebs) in this article.
118+
116119
##Adding a DigitalOcean cluster
117120

118121
DigitalOcean is also offering a hosted solution for Kubernetes.
@@ -556,6 +559,33 @@ kubectl create clusterrolebinding default-admin --clusterrole cluster-admin --se
556559
{% endraw %}
557560
{% endhighlight %}
558561

562+
###Volume provisioning issues for Amazon EBS
563+
564+
After adding or upgrading Kubernetes clusters to version 1.23 or higher, you can encounter volume provisioning issues with Amazon EBS
565+
(Elastic Block Store).
566+
567+
**Issue**
568+
569+
* Codefresh builds remain in`pending` status as EBS volumes cannot be attached
570+
* Errors in`pod` logs:
571+
572+
`Warning FailedMount 112s kubelet Unable to attach or mount volumes:
573+
unmounted volumes=[dind], unattached volumes=[dind-config dind codefresh-certs-server]:
574+
timed out waiting for the condition`
575+
576+
**Possible cause**
577+
The Amazon EBS CSI driver is not installed on the cluster.
578+
Kubernetes versions 1.23 and higher require the Amazon EBS CSI driver for EBS volume management in EKS clusters. For more information, see[Amazon EBS CSI driver](https://docs.aws.amazon.com/eks/latest/userguide/ebs-csi.html){:target="\_blank"}.
579+
580+
581+
**Solution**
582+
Add the driver as an Amazon EKS add-on or as a self-managed add-on:
583+
*[Add as Amazon EKS add-on](https://docs.aws.amazon.com/eks/latest/userguide/managing-ebs-csi.html){:target="\_blank"}
584+
*[Add as self-managed add-on](https://github.com/kubernetes-sigs/aws-ebs-csi-driver){:target="\_blank"}
585+
586+
587+
588+
559589
##Kubernetes cluster - using an external reverse proxy (edge case)
560590

561591
In case you're using an external reverse proxy to manage inbound traffic to your Kubernetes API, please read[this article]({{site.baseurl}}/docs/deploy-to-kubernetes/verify-cluster-tls-ssl-configuration/) to make sure your certificate setup are managed correctly in order to add your cluster successfully to Codefresh.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp