Skip to main content
POST
Give a fenced deployment (spec.replication.mode fenced) a primary of its own

Authorizations

token
string
cookie
required

JWT token stored in HTTP-only cookie

Path Parameters

clusterName
string
required

Query Parameters

namespace
string
required

namespace is required

Minimum string length: 1

Body

application/json
allowUnreachablePods
boolean

Promote even when a node does not answer. Such a node may have received more of the source's data than the node promoted, and that part is lost once it follows the new primary. By default the promotion fails, leaving the deployment fenced, while any node does not answer.

Response

Default Response

message
string
required
opsName
string
required

Name of the created OpsRequest resource

clusterName
string
required
type
string
required
phase
string
liveApplyOpsName
string
liveApplyError
string