Kubectl cp $(kubectl get pods | grep Running | grep demo | awk ‘ #Copy the new code to the running pod using kubectl Script to Copy the Updated Code from Cluster to the Kubernetes Running Pod / Init Container: #Copy the updated Composer bucket to Cluster Gcloud container clusters get-credentials - zone - project Shell Script to run cluster commands to automate the Copy the details from bucket to PV: Script to Copy the updated code from Composer Bucket to the Cluster: Connect to Cluster -> gsutil rsync -> grep for running pod with first task name -> run kubectl cp command to the volume -> same volume gets mapped to second task -> Run DBT.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |