Disable access management
Follow these steps to disable the access management feature while keeping the guest environment enabled:
- Stop your VM.
Edit the VM
spec
field:kubectl edit virtualmachines.virtualmachine.gdc.goog VM_NAME -n VM_NAMESPACE
Replace
VM_NAME
with your VM name, andVM_NAMESPACE
with your VM namespace.Add the following fields to the
spec
field:apiVersion: virtualmachine.gdc.goog/v1 kind: VirtualMachine metadata: name: vm-example namespace: project-example spec: guestEnvironment: accessManagement: enable: false
The
name
field contains your VM name, and thenamespace
field contains your VM namespace.