kubernetes PersistentVolumeClaim模板
apiVersion: v1 kind: PersistentVolumeClaim metadata: name: 存储名称 spec: accessModes: - ReadWriteOnce resources: requests: storage: 10Gi storageClassName: 你服务商提供的className
apiVersion: v1 kind: PersistentVolumeClaim metadata: name: 存储名称 spec: accessModes: - ReadWriteOnce resources: requests: storage: 10Gi storageClassName: 你服务商提供的className
kind: Ingress apiVersion: networking.k8s.io/v1 metadata: name: nginx名称 spec: ingressClassName: nginx rules: - host: 域名 http: paths: - path: / pathType: Pr
现在进行docker登录docker login -u xxx -p 然后cat ~/.docker/config.json | base64 得到一个密钥创建k8s密钥的yamlkind: Secret apiVersion: v1 metadata: name: regcred data: .dockerconfigjson: 密钥 type: kubernetes.io/docke