pull

从仓库中拉取Chart

  1. [root@cka-master helm]# helm pull apphub/kubernetes-dashboard
  2. [root@cka-master helm]# ls
  3. kubernetes-dashboard-1.10.1.tgz
  4. [root@cka-master helm]#

show

线上Chart相关元数据

  1. [root@cka-master helm]# helm show -h
  2. This command consists of multiple subcommands to display information about a chart
  3. Usage:
  4. helm show [command]
  5. Aliases:
  6. show, inspect
  7. Available Commands:
  8. all show all information of the chart
  9. chart show the chart's definition
  10. crds show the chart's CRDs
  11. readme show the chart's README
  12. values show the chart's values
  13. Flags:
  14. -h, --help help for show
  15. Global Flags:
  16. --debug enable verbose output
  17. --kube-apiserver string the address and the port for the Kubernetes API server
  18. --kube-as-group stringArray group to impersonate for the operation, this flag can be repeated to specify multiple groups.
  19. --kube-as-user string username to impersonate for the operation
  20. --kube-ca-file string the certificate authority file for the Kubernetes API server connection
  21. --kube-context string name of the kubeconfig context to use
  22. --kube-token string bearer token used for authentication
  23. --kubeconfig string path to the kubeconfig file
  24. -n, --namespace string namespace scope for this request
  25. --registry-config string path to the registry config file (default "/root/.config/helm/registry/config.json")
  26. --repository-cache string path to the file containing cached repository indexes (default "/root/.cache/helm/repository")
  27. --repository-config string path to the file containing repository names and URLs (default "/root/.config/helm/repositories.yaml")
  28. Use "helm show [command] --help" for more information about a command.
  29. [root@cka-master helm]#
  30. [root@cka-master helm]# helm show chart kubernetes-dashboard-1.10.1.tgz
  31. apiVersion: v1
  32. appVersion: 1.10.1
  33. description: General-purpose web UI for Kubernetes clusters
  34. home: https://github.com/kubernetes/dashboard
  35. icon: https://raw.githubusercontent.com/kubernetes/kubernetes/master/logo/logo.svg
  36. keywords:
  37. - kubernetes
  38. - dashboard
  39. maintainers:
  40. - email: Kevin.Fox@pnnl.gov
  41. name: kfox1111
  42. - email: cdesaintmartin@wiremind.fr
  43. name: desaintmartin
  44. name: kubernetes-dashboard
  45. sources:
  46. - https://github.com/kubernetes/dashboard
  47. version: 1.10.1
  48. [root@cka-master helm]#