Selectel

Based on openstack, but with additions

Config

~/.config/openstack/clouds.yaml

clouds:
  selcloud:
    auth:
      auth_url: https://cloud.api.selcloud.ru/identity/v3
      username: "username"
      password: "password"
      project_id: "project id"
      user_domain_name: "domain name"
    interface: "public"
    identity_api_version: 3
    volume_api_version: 3
    region_name: "ru-9"

Dont forget check all regions

Managed k8s

export TOKEN=$(openstack token issue -f json | jq -r .id) # issue openstack token
#Take cluster id
curl -s "https://<region>.mks.selcloud.ru/v1/clusters" -H "X-Auth-Token: $TOKEN" | jq
#Issue config
curl "https://<region>.mks.selcloud.ru/v1/clusters/<cluster-id>/kubeconfig" -H "X-Auth-Token: $TOKEN"

ToDo

https://docs.selectel.ru/api/arrow-up-right - all api documentation

https://docs.selectel.ru/api/urls/#tag/Service-Usage-and-Limits/operation/getServiceUsagearrow-up-right all api endpoints

Need check all abuse ways for different services

Last updated