GoogleCloudPlatform / deploymentmanager-samples

Deployment Manager samples and templates.
Apache License 2.0
939 stars 717 forks source link

Unable to Find execute this yaml, error says 'Kind' is missing #472

Closed pankajjeet001 closed 5 years ago

pankajjeet001 commented 5 years ago

Hi during deployment of this yaml code, it says following error all of sudden though it used to work previously.

error: unable to decode "deptest.yaml": Object 'Kind' is missing in '{"resources":[{"name":"quickstart-deployment-vm","properties":{"disks":[{"autoDelete":true,"boot"

Please suggest the corrective action, i need to take. image

pankajjeet001 commented 5 years ago

This is resolved by myself. Actually, i was trying to deploy yaml using kubectl instead of using deployment-manager. I actually overlapped while working in GKE vs non GKE environment. ;-)

mountainsaxena commented 5 years ago

Given that you are working across mixed environments you may want to look at https://github.com/GoogleCloudPlatform/k8s-config-connector

On Wed, Jun 26, 2019, 10:53 PM pankajjeet001 notifications@github.com wrote:

This is resolved by myself. Actually, i was trying to deploy yaml using kubectl instead of using deployment-manager. I actually overlapped while working in GKE vs non GKE environment. ;-)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GoogleCloudPlatform/deploymentmanager-samples/issues/472?email_source=notifications&email_token=ALZVKCLK3Q7TOYQHS3TBT7TP4RIW3A5CNFSM4H3YCBB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYWAMOY#issuecomment-506201659, or mute the thread https://github.com/notifications/unsubscribe-auth/ALZVKCLK66H4TTAIRE7EAI3P4RIW3ANCNFSM4H3YCBBQ .