
portworx/px-bootstrapper-managerPx-bootstrapper是Portworx存储平台的官方引导程序镜像,旨在简化Portworx在容器化环境中的初始化和配置过程。该镜像提供了自动化部署和配置Portworx存储集群所需的工具和脚本,帮助用户快速搭建企业级容器存储解决方案。
通过Docker运行Px-bootstrapper容器:
bashdocker run --privileged --net=host -v /etc/pwx:/etc/pwx -v /var/run/docker.sock:/var/run/docker.sock portworx/px-bootstrapper:latest
在Kubernetes集群中使用:
yaml# px-bootstrapper.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: px-bootstrapper namespace: kube-system spec: selector: matchLabels: name: px-bootstrapper template: metadata: labels: name: px-bootstrapper spec: hostNetwork: true containers: - name: px-bootstrapper image: portworx/px-bootstrapper:latest imagePullPolicy: Always privileged: true volumeMounts: - name: etc-pwx mountPath: /etc/pwx - name: docker-sock mountPath: /var/run/docker.sock volumes: - name: etc-pwx hostPath: path: /etc/pwx - name: docker-sock hostPath: path: /var/run/docker.sock
应用部署配置:
bashkubectl apply -f px-bootstrapper.yaml
| 环境变量 | 描述 | 默认值 |
|---|---|---|
PX_BOOTSTRAP_CONFIG | 引导配置文件路径 | /etc/pwx/bootstrap.json |
PX_CLUSTER_ID | Portworx集群ID | 自动生成 |
PX_STORAGE_SIZE | 分配给Portworx的存储大小 | 自动检测 |
PX_DEBUG | 启用调试模式 | false |
引导配置文件(bootstrap.json)示例:
json{ "clusterid": "my-px-cluster", "storage": { "devices": ["/dev/sdb", "/dev/sdc"], "journalDevice": "/dev/sda" }, "network": { "dataInterface": "eth1", "managementInterface": "eth0" } }



manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务