Skip to main content
All CollectionsUniskai and Kubernetes
Switch cluster from Read/Write to Read only connection
Switch cluster from Read/Write to Read only connection

Learn how to switch cluster from read-write to read-only type

Updated over 2 months ago

If the EKS cluster is connected through the Agent

To change the connection type from read/write to read-only when an agent is connected, you need to remove the agent from the cluster. To do this, you can use the command.

kubectl delete -f https://uniskai-eu-templates.s3.eu-central-1.amazonaws.com/kubernetes-agent/deployment.yaml

  • Refresh your account on the platform.

  • The state is changed to read-only.

If the EKS cluster is connected through the API

Open aws-auth map configuration for modification in kube-system namespace

  • Delete the uniskai-modifier-group group or the entire record (for complete disabling) with the cluster role from the mapRoles/mapUsers block

  • Refresh your account on the platform.

  • The state is changed to read-only.

Did this answer your question?