Kubernetes-client: How to translate the Deployment to yaml

Created on 18 Dec 2020  路  4Comments  路  Source: fabric8io/kubernetes-client

How to translate the Deployment to yaml,such as the command: kubectl get deploy ** -o yaml

question

All 4 comments

I need your help,please

SerializationUtils.dumpAsYaml(deployment) should return Deployment as YAML string. You can then either write it to a file or use it somewhere else.

SerializationUtils.dumpAsYaml(deployment) should return Deployment as YAML string. You can then either write it to a file or use it somewhere else.

Thank you for your help锛孖 have anothor issue,whether the SDK support trafik?Do you develop a SDK support Helm?please.

Umm, we have got these extensions:

  • Knative
  • Tekton
  • Istio
  • ServiceCatalog
  • ChaosMesh
  • VolumeSnapshot

At the moment we don't have extension for traefik or Helm. Could you please create an issue ?

Was this page helpful?
0 / 5 - 0 ratings