Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created December 15, 2021 10:17

Revisions

  1. velotiotech created this gist Dec 15, 2021.
    2 changes: 2 additions & 0 deletions k8s_pod_spec.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    # pod_spec = client.V1PodSpec(<containers_list>)
    pod_spec = client.V1PodSpec(containers=containers)