Kubernetes CLI Command Reference

Every dcloud eks command. The shape is dcloud <service> <resource> <verb>; every command also takes the global flags (--json, --profile, --dry-run, …).

dcloud eks versions

The Kubernetes versions, tiers and node server types on offer

  • listList Kubernetes versions, control-plane tiers and node server types

dcloud eks clusters

Kubernetes clusters whose control plane Deutsche Cloud runs

  • listList clusters
  • createCreate a cluster
  • getOne cluster: endpoint, version, status, control-plane readiness
  • updateChange the networks allowed to reach the API endpoint, or deletion protection
  • upgradeUpgrade the control plane to the next Kubernetes minor
  • retry-upgradeAsk again, now, for the pre-upgrade snapshot a held upgrade waits for
  • cancel-upgradeCancel a control-plane upgrade before its first machine is replaced
  • restoreRestore the control plane from one of the cluster’s etcd snapshots
  • postpone-upgradePostpone Deutsche Cloud’s control-plane upgrade after end of support, once, by 14 days
  • availabilityThe month’s measured API availability, SLA result and credit, each unavailable minute and which measurement saw it, and the outside probes
  • deleteDelete a cluster, its control plane, node groups and nodes
  • logsControl-plane logs: the Kubernetes audit log, API server, authenticator, controller manager, scheduler
  • eventsThe cluster’s activity: provisioning steps, changes, control-plane reports
  • kubeconfigThe endpoint and CA a kubeconfig entry needs
  • tokenA 10-minute Kubernetes API token for the cluster, as an ExecCredential
  • admin-credentialsBreak glass: a one-hour cluster-admin client certificate

dcloud eks deleted-clusters

Deleted clusters that can still be restored (7 days)

  • listList deleted clusters that can be restored, with their expiry and kept volumes
  • restoreRestore a deleted cluster from its final etcd snapshot
  • purgeDelete what a deleted cluster kept, now: final snapshot, key material, volumes

dcloud eks snapshots

etcd snapshots of a cluster’s control plane, taken by Deutsche Cloud

  • listList the cluster’s etcd snapshots and its backup status
  • createTake an etcd snapshot now

dcloud eks nodegroups

Sets of compute instances that join a cluster as nodes

  • listList a cluster’s node groups with their nodes
  • createAdd a node group
  • getOne node group and its nodes
  • updateScale a node group or change its labels and taints
  • upgradeUpgrade a node group to the cluster’s Kubernetes minor
  • deleteDelete a node group and its nodes

dcloud eks access-entries

Which IAM users, groups and roles may use kubectl on a cluster, and how

  • listList a cluster’s access entries and their access policies
  • createGive an IAM user, group or role an access entry
  • getOne access entry and its access policies
  • updateChange an access entry’s Kubernetes username or extra groups
  • deleteRemove an access entry
  • associate-policyGrant an access entry an access policy, cluster-wide or in namespaces
  • disassociate-policyRemove an access policy from an access entry

dcloud eks pod-identity-associations

Which service accounts of a cluster act as which IAM roles (pods get S3 credentials with no stored key)

  • listList a cluster’s pod identity associations
  • createLet pods of a service account act as an IAM role
  • deleteRemove a pod identity association

dcloud eks addon-versions

The managed add-ons Deutsche Cloud offers and their versions

  • listList add-ons, their versions and the Kubernetes minors each supports

dcloud eks addons

Managed add-ons on a cluster: metrics-server, Traefik ingress, cert-manager and external-dns on Deutsche Cloud DNS

  • listList a cluster’s add-ons, with the system components Deutsche Cloud runs (system: true)
  • createInstall a managed add-on
  • getOne add-on: version, options, status, workloads ready, upgrade available
  • updateChange an add-on’s version or options
  • deleteRemove an add-on

Generated from the API description, the same one the API checks requests against and the CLI is built from.