# vSphere Cloud-Controler-Manager Helm Chart
[vSphere Cloud Provider Interface](https://github.com/kubernetes/cloud-provider-vsphere) handles cloud specific functionality for VMware vSphere infrastructure running on Kubernetes.
## Introduction
This chart deploys all components required to run the external vSphere CPI as described on it's [GitHub page](https://github.com/kubernetes/cloud-provider-vsphere).
## Prerequisites
- Has been tested on Kubernetes 1.22.X+
- Assumes your Kubernetes cluster has been configured to use the external cloud provider. Please take a look at configuration guidelines located in the [Kubernetes documentation](https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/#running-cloud-controller-manager).
## Installing the Chart using Helm 3.0+
[The Github project of Helm chart repositories](https://github.com/helm/charts) is now an archive and no longer under active development since Nov 13, 2020. For more information, see the [Helm Charts Deprecation and Archive Notice](https://github.com/helm/charts#%EF%B8%8F-deprecation-and-archive-notice), and [Update](https://helm.sh/blog/charts-repo-deprecation/).
To add and update the Helm Charts for cloud-provider-vsphere, you can run the following command:
```bash
helm repo add vsphere-cpi https://kubernetes.github.io/cloud-provider-vsphere
helm repo update
```
See [help repo](https://helm.sh/docs/helm/helm_repo/) for command documentation.
Then to install the chart and by providing vCenter information/credentials, run the following command:
```bash
helm upgrade --install vsphere-cpi vsphere-cpi/vsphere-cpi --namespace kube-system --set config.enabled=true --set config.vcenter=<vCenter IP> --set config.username=<vCenter Username> --set config.password=<vCenter Password> --set config.datacenter=<vCenter Datacenter>
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example:
```bash
helm install vsphere-cpi -f values.yaml vsphere-cpi/vsphere-cpi
```
> **Tip**: You can use the default [values.yaml](https://github.com/kubernetes/cloud-provider-vsphere/blob/master/charts/vsphere-cpi/values.yaml) as a guide
See [helm install](https://helm.sh/docs/helm/helm_install/) for command documentation.
> **Tip**: List all releases using `helm list --all`
> It may take a few minutes. Confirm the pods are up:
> `kubectl get pods --namespace $NAMESPACE`
> `helm list --namespace $NAMESPACE`
If you want to provide your own `vsphere.conf` and Kubernetes secret `vsphere-cpi` (for example, to handle multple datacenters/vCenters or for using zones), you can learn more about the `vsphere.conf` and `vsphere-cpi` secret by reading the following [documentation](https://cloud-provider-vsphere.sigs.k8s.io/tutorials/kubernetes-on-vsphere-with-kubeadm.html) and then running the following command:
```bash
helm install vsphere-cpi vsphere-cpi/vsphere-cpi --namespace kube-system
```
## Installing the Chart using Helm 2.X
To install this chart with the release name `vsphere-cpi` and by providing a vCenter information/credentials, run the following command:
```bash
helm install vsphere-cpi/vsphere-cpi --name vsphere-cpi --namespace kube-system --set config.enabled=true --set config.vcenter=<vCenter IP> --set config.username=<vCenter Username> --set config.password=<vCenter Password> --set config.datacenter=<vCenter Datacenter>
```
If you provide your own `vsphere.conf` and Kubernetes secret `vsphere-cpi`, then deploy the chart running the following command:
```bash
helm install vsphere-cpi/vsphere-cpi --name vsphere-cpi --namespace kube-system
```
## Uninstalling the Chart
Note: `helm delete` command has been renamed to `helm uninstall`.
To uninstall/delete the `vsphere-cpi` deployment:
```bash
# Helm 2
$ helm delete vsphere-cpi --namespace kube-system
# Helm 3
$ helm uninstall [RELEASE_NAME]
```
The command removes all the Kubernetes components associated with the chart and deletes the release.
See [helm uninstall](https://helm.sh/docs/helm/helm_uninstall/) for command documentation.
> **Tip**: To permanently remove the release using Helm v2.X, run `helm delete --purge vsphere-cpi --namespace kube-system`
## Configuration
The following table lists the configurable parameters of the vSphere CPI chart and their default values.
| Parameter | Description | Default |
|------------------------------------------|-------------------------------------|----------------------------------------|
| `podSecurityPolicy.enabled` | Enable pod sec policy (k8s > 1.17) | true |
| `podSecurityPolicy.annotations` | Annotations for pd sec policy | nil |
| `securityContext.enabled` | Enable sec context for container | false |
| `securityContext.runAsUser` | RunAsUser. Default is `nobody` in | 1001 |
| | distroless image | |
| `securityContext.fsGroup` | FsGroup. Default is `nobody` in | 1001 |
| | distroless image | |
| `config.enabled` | Create a simple single VC config | false |
| `config.name` | Name of the created VC configmap | false |
| `config.vcenter` | FQDN or IP of vCenter | vcenter.local |
| `config.username` | vCenter username | user |
| `config.password` | vCenter password | pass |
| `config.datacenter` | Datacenters within the vCenter | dc |
| `config.secret.create` | Create secret for VC config | true |
| `config.secret.name` | Name of the created VC secret | vsphere-cloud-secret |
| `rbac.create` | Create roles and role bindings | true |
| `serviceAccount.create` | Create the service account | true |
| `serviceAccount.name` | Name of the created service account | cloud-controller-manager |
| `daemonset.annotations` | Annotations for CPI pod | nil |
| `daemonset.image` | Image for vSphere CPI | registry.k8s.io/cloud-pv-vsphere/ |
| | | cloud-provider-vsphere |
| `daemonset.tag` | Tag for vSphere CPI | latest |
| `daemonset.pullPolicy` | CPI image pullPolicy | IfNotPresent |
| `daemonset.dnsPolicy` | CPI dnsPolicy | ClusterFirst |
| `daemonset.cmdline.logging` | Logging level | 2 |
| `daemonset.cmdline.cloudConfig.dir` | vSphere conf directory | /etc/cloud |
| `daemonset.cmdline.cloudConfig.file` | vSphere conf filename | vsphere.conf |
| `daemonset.replicaCount`
没有合适的资源?快使用搜索试试~ 我知道了~
Kubernetes_vSphere_云提供商_项目_极简说明_这是一个专为VMware_vSphere环境设计的Kuberne...

共410个文件
go:218个
yaml:47个
md:33个

1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 106 浏览量
2025-09-05
11:31:14
上传
评论
收藏 2.46MB ZIP 举报
温馨提示
Kubernetes_vSphere_云提供商_项目_极简说明_这是一个专为VMware_vSphere环境设计的Kubernetes云控制器管理器用于替代已弃用的内置vSphe.zip
资源推荐
资源详情
资源评论





























收起资源包目录





































































































共 410 条
- 1
- 2
- 3
- 4
- 5
资源评论


weixin_43880734
- 粉丝: 397
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 2022年单片机内部资源的编程.ppt
- 电气工程自动化毕业论文.doc
- 新教材高中外研版英语选择性必修4学案unit6sectionⅢdevelopingideaspres.docx
- 工程数据的计算机处理.pptx
- (定稿版)中小企业网络营销现状解析及其对策.doc
- 13-2-2导数的运算法则.doc
- 供应链项目管理总结.docx
- 2022年优秀-达梦数据库安装及客户端介绍.pptx
- 秦皇岛二中校园网络视频直播方案成功案例.docx
- 采用单片机控制的红外自动门-毕业(设计)论文.doc
- 关于探讨自动化控制系统设计方式论文.doc
- 信息化教学设计模板.pptx
- 网球团体总分算法.docx
- 大数据采集及预处理课件.pptx
- ddzipp-AutoAudit-14312-1755878436668.zip
- 博雅小学第五届玩创节--编程知识竞赛.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
