Overview
IAM
- Account
- Users
- API Tokens
CDN
- IP addresses list
- CDN service
- Origins
- CDN resources
- CDN activity logs
- Log forwarding
- Log viewer
- Logs uploader
- Tools
- Rules
- Rule templates
- Purge history
- SSL certificates
- CA certificates
- CDN Statistics
- Advanced analytics
- Origin shielding
- Let's Encrypt certificates
Managed DNS
- Analyze
- Locations
- Lookup
- Metrics
- Pickers
- DNS Clients
- Zones
- DNSSEC
- RRsets
Cloud
- Bare Metal
- Container as a Service
- Cost Reports
- DDOS Protection
- File Shares
- Firewalls
- Floating IPs
- Function as a Service
- GPU Cloud
- IP Ranges
- Images
- Inference Instances
- Instances
- Load Balancers
- Logging
- Managed Kubernetes
- GETList flavors for k8s
- GETList k8s clusters
- POSTCreate k8s cluster
- POSTCheck quota for cluster creation
- GETGet k8s cluster
- DELDelete k8s cluster
- PATCHUpdate k8s cluster
- GETGet k8s cluster CA certificate
- GETGet k8s cluster kubeconfig
- GETList instances in k8s cluster
- GETList k8s cluster pools
- POSTCreate k8s cluster pool
- GETGet k8s cluster pool details
- DELDelete k8s cluster pool
- PATCHUpdate k8s cluster pool
- GETList instances in k8s cluster pool
- POSTResize k8s cluster pool
- POSTUpgrade k8s cluster
- GETList available k8s cluster versions for upgrade
- GETList available k8s cluster versions for cluster creation
- POSTPreview cluster price
- GETGet cluster price
- GET
- Managed PostgreSQL
- Networks
- Placement Groups
- Projects
- Quotas
- Regions
- Registry
- Reservations
- Reserved IPs
- Routers
- SSH Keys
- Secrets
- Service Endpoints
- Snapshot Schedules
- Snapshots
- Tasks
- User Actions
- User Role Assignments
- Volumes
Security
- Event Logs
- BGP announces
- Security Templates
- Profiles
FastEdge
- Apps
- Binaries
- FastEdge Clients
- FastEdge Secrets
- Stats
- FastEdge Templates
WAAP
- WAAP Service
- Domains
- Policies
- Analytics
- Custom Page Sets
- Custom Rules
- Firewall Rules
- Advanced Rules
- Tags
- Network Organizations
- API Discovery
- IP Spotlight
- Security Insights
Web Security
- Billing Statistics
- Resources
Video Streaming
- Streams
- Overlays
- Broadcasts
- Restreams
- Videos
- Subtitles
- Directories
- Playlists
- QualitySets
- Players
- AI
- Streaming Statistics
Object Storage
- Notifications
- Key
- Location
- Storage
- Storage Statistics
Managed Kubernetes
Update k8s cluster
PATCH
/
cloud
/
v2
/
k8s
/
clusters
/
{project_id}
/
{region_id}
/
{cluster_name}
Copy
Ask AI
curl --request PATCH \
--url https://api.gcore.com/cloud/v2/k8s/clusters/{project_id}/{region_id}/{cluster_name} \
--header 'APIKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"authentication": {
"oidc": {
"client_id": "kubernetes",
"groups_claim": "groups",
"groups_prefix": "oidc:",
"issuer_url": "https://accounts.provider.example",
"required_claims": {
"claim": "value"
},
"signing_algs": [
"RS256",
"RS512"
],
"username_claim": "sub",
"username_prefix": "oidc:"
}
},
"autoscaler_config": {
"scale-down-unneeded-time": "5m"
},
"cni": {
"cilium": {
"encryption": true,
"hubble_relay": true,
"hubble_ui": true,
"lb_acceleration": true,
"lb_mode": "snat",
"tunnel": "geneve"
},
"provider": "cilium"
},
"ddos_profile": {
"enabled": true,
"fields": [
{
"base_field": 10,
"field_value": [
45046,
45047
]
}
],
"profile_template": 29
},
"logging": {
"destination_region_id": 1,
"enabled": true,
"retention_policy": {
"period": 45
},
"topic_name": "my-log-name"
}
}'
Copy
Ask AI
{
"tasks": [
"d478ae29-dedc-4869-82f0-96104425f565"
]
}
Authorizations
API key for authentication.
Path Parameters
Project identifier
Region identifier
Cluster name
Body
application/json
Response
200
application/json
Everything is OK, task to update cluster was created
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl --request PATCH \
--url https://api.gcore.com/cloud/v2/k8s/clusters/{project_id}/{region_id}/{cluster_name} \
--header 'APIKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"authentication": {
"oidc": {
"client_id": "kubernetes",
"groups_claim": "groups",
"groups_prefix": "oidc:",
"issuer_url": "https://accounts.provider.example",
"required_claims": {
"claim": "value"
},
"signing_algs": [
"RS256",
"RS512"
],
"username_claim": "sub",
"username_prefix": "oidc:"
}
},
"autoscaler_config": {
"scale-down-unneeded-time": "5m"
},
"cni": {
"cilium": {
"encryption": true,
"hubble_relay": true,
"hubble_ui": true,
"lb_acceleration": true,
"lb_mode": "snat",
"tunnel": "geneve"
},
"provider": "cilium"
},
"ddos_profile": {
"enabled": true,
"fields": [
{
"base_field": 10,
"field_value": [
45046,
45047
]
}
],
"profile_template": 29
},
"logging": {
"destination_region_id": 1,
"enabled": true,
"retention_policy": {
"period": 45
},
"topic_name": "my-log-name"
}
}'
Copy
Ask AI
{
"tasks": [
"d478ae29-dedc-4869-82f0-96104425f565"
]
}
Assistant
Responses are generated using AI and may contain mistakes.