Install cilium
curl --request POST \
--url https://{host}/api/supervisors/{name}/cilium/install \
--header 'Content-Type: application/json' \
--cookie k8s-gate-session= \
--data '
{
"chartSource": "<string>",
"chartVersion": "<string>",
"profileId": "<string>",
"values": {
"bgpControlPlane": true,
"bpfLbMode": "<string>",
"chartSource": "<string>",
"chartVersion": "<string>",
"clusterID": 123,
"clusterMeshEnabled": true,
"clusterName": "<string>",
"clusterPoolIpv4Cidr": "<string>",
"clusterPoolIpv4MaskSize": 123,
"devices": "<string>",
"directRoutingDevice": "<string>",
"disableSourceIPVerification": true,
"egressGatewayEnabled": true,
"enableBandwidthManagerBBR": true,
"enableBpfConntrackAccount": true,
"enableBpfMasquerade": true,
"enableEndpointRoutes": true,
"enableEnvoyConfig": true,
"enableGatewayAPI": true,
"enableGatewayAPIAlpn": true,
"enableGatewayAPIAppProtocol": true,
"enableL7Proxy": true,
"enablePMTUDiscovery": true,
"enableSCTP": true,
"envoyEnabled": true,
"hubbleCertValidityDays": 123,
"hubbleEnabled": true,
"hubbleEventBufferCapacity": 123,
"hubbleMetrics": [
"<string>"
],
"hubbleMetricsOpenMetrics": true,
"hubbleNetworkPolicyCorrelation": true,
"hubbleRelayEnabled": true,
"hubbleTlsAutoMethod": "<string>",
"hubbleUiEnabled": true,
"imagePullSecret": "<string>",
"ingressControllerEnabled": true,
"ingressControllerLbMode": "<string>",
"ipamMode": "<string>",
"ipv4NativeRoutingCIDR": "<string>",
"k8sServiceHost": "<string>",
"k8sServicePort": 123,
"kubeProxyReplacement": true,
"l2AnnouncementsEnabled": true,
"l2PodAnnouncementsEnabled": true,
"l2PodAnnouncementsIface": "<string>",
"mtu": 123,
"operatorPrometheusEnabled": true,
"prometheusEnabled": true,
"rawValuesYaml": "<string>",
"routingMode": "<string>",
"tunnelProtocol": "<string>"
}
}
'import requests
url = "https://{host}/api/supervisors/{name}/cilium/install"
payload = {
"chartSource": "<string>",
"chartVersion": "<string>",
"profileId": "<string>",
"values": {
"bgpControlPlane": True,
"bpfLbMode": "<string>",
"chartSource": "<string>",
"chartVersion": "<string>",
"clusterID": 123,
"clusterMeshEnabled": True,
"clusterName": "<string>",
"clusterPoolIpv4Cidr": "<string>",
"clusterPoolIpv4MaskSize": 123,
"devices": "<string>",
"directRoutingDevice": "<string>",
"disableSourceIPVerification": True,
"egressGatewayEnabled": True,
"enableBandwidthManagerBBR": True,
"enableBpfConntrackAccount": True,
"enableBpfMasquerade": True,
"enableEndpointRoutes": True,
"enableEnvoyConfig": True,
"enableGatewayAPI": True,
"enableGatewayAPIAlpn": True,
"enableGatewayAPIAppProtocol": True,
"enableL7Proxy": True,
"enablePMTUDiscovery": True,
"enableSCTP": True,
"envoyEnabled": True,
"hubbleCertValidityDays": 123,
"hubbleEnabled": True,
"hubbleEventBufferCapacity": 123,
"hubbleMetrics": ["<string>"],
"hubbleMetricsOpenMetrics": True,
"hubbleNetworkPolicyCorrelation": True,
"hubbleRelayEnabled": True,
"hubbleTlsAutoMethod": "<string>",
"hubbleUiEnabled": True,
"imagePullSecret": "<string>",
"ingressControllerEnabled": True,
"ingressControllerLbMode": "<string>",
"ipamMode": "<string>",
"ipv4NativeRoutingCIDR": "<string>",
"k8sServiceHost": "<string>",
"k8sServicePort": 123,
"kubeProxyReplacement": True,
"l2AnnouncementsEnabled": True,
"l2PodAnnouncementsEnabled": True,
"l2PodAnnouncementsIface": "<string>",
"mtu": 123,
"operatorPrometheusEnabled": True,
"prometheusEnabled": True,
"rawValuesYaml": "<string>",
"routingMode": "<string>",
"tunnelProtocol": "<string>"
}
}
headers = {
"cookie": "k8s-gate-session=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {cookie: 'k8s-gate-session=', 'Content-Type': 'application/json'},
body: JSON.stringify({
chartSource: '<string>',
chartVersion: '<string>',
profileId: '<string>',
values: {
bgpControlPlane: true,
bpfLbMode: '<string>',
chartSource: '<string>',
chartVersion: '<string>',
clusterID: 123,
clusterMeshEnabled: true,
clusterName: '<string>',
clusterPoolIpv4Cidr: '<string>',
clusterPoolIpv4MaskSize: 123,
devices: '<string>',
directRoutingDevice: '<string>',
disableSourceIPVerification: true,
egressGatewayEnabled: true,
enableBandwidthManagerBBR: true,
enableBpfConntrackAccount: true,
enableBpfMasquerade: true,
enableEndpointRoutes: true,
enableEnvoyConfig: true,
enableGatewayAPI: true,
enableGatewayAPIAlpn: true,
enableGatewayAPIAppProtocol: true,
enableL7Proxy: true,
enablePMTUDiscovery: true,
enableSCTP: true,
envoyEnabled: true,
hubbleCertValidityDays: 123,
hubbleEnabled: true,
hubbleEventBufferCapacity: 123,
hubbleMetrics: ['<string>'],
hubbleMetricsOpenMetrics: true,
hubbleNetworkPolicyCorrelation: true,
hubbleRelayEnabled: true,
hubbleTlsAutoMethod: '<string>',
hubbleUiEnabled: true,
imagePullSecret: '<string>',
ingressControllerEnabled: true,
ingressControllerLbMode: '<string>',
ipamMode: '<string>',
ipv4NativeRoutingCIDR: '<string>',
k8sServiceHost: '<string>',
k8sServicePort: 123,
kubeProxyReplacement: true,
l2AnnouncementsEnabled: true,
l2PodAnnouncementsEnabled: true,
l2PodAnnouncementsIface: '<string>',
mtu: 123,
operatorPrometheusEnabled: true,
prometheusEnabled: true,
rawValuesYaml: '<string>',
routingMode: '<string>',
tunnelProtocol: '<string>'
}
})
};
fetch('https://{host}/api/supervisors/{name}/cilium/install', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{host}/api/supervisors/{name}/cilium/install",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'chartSource' => '<string>',
'chartVersion' => '<string>',
'profileId' => '<string>',
'values' => [
'bgpControlPlane' => true,
'bpfLbMode' => '<string>',
'chartSource' => '<string>',
'chartVersion' => '<string>',
'clusterID' => 123,
'clusterMeshEnabled' => true,
'clusterName' => '<string>',
'clusterPoolIpv4Cidr' => '<string>',
'clusterPoolIpv4MaskSize' => 123,
'devices' => '<string>',
'directRoutingDevice' => '<string>',
'disableSourceIPVerification' => true,
'egressGatewayEnabled' => true,
'enableBandwidthManagerBBR' => true,
'enableBpfConntrackAccount' => true,
'enableBpfMasquerade' => true,
'enableEndpointRoutes' => true,
'enableEnvoyConfig' => true,
'enableGatewayAPI' => true,
'enableGatewayAPIAlpn' => true,
'enableGatewayAPIAppProtocol' => true,
'enableL7Proxy' => true,
'enablePMTUDiscovery' => true,
'enableSCTP' => true,
'envoyEnabled' => true,
'hubbleCertValidityDays' => 123,
'hubbleEnabled' => true,
'hubbleEventBufferCapacity' => 123,
'hubbleMetrics' => [
'<string>'
],
'hubbleMetricsOpenMetrics' => true,
'hubbleNetworkPolicyCorrelation' => true,
'hubbleRelayEnabled' => true,
'hubbleTlsAutoMethod' => '<string>',
'hubbleUiEnabled' => true,
'imagePullSecret' => '<string>',
'ingressControllerEnabled' => true,
'ingressControllerLbMode' => '<string>',
'ipamMode' => '<string>',
'ipv4NativeRoutingCIDR' => '<string>',
'k8sServiceHost' => '<string>',
'k8sServicePort' => 123,
'kubeProxyReplacement' => true,
'l2AnnouncementsEnabled' => true,
'l2PodAnnouncementsEnabled' => true,
'l2PodAnnouncementsIface' => '<string>',
'mtu' => 123,
'operatorPrometheusEnabled' => true,
'prometheusEnabled' => true,
'rawValuesYaml' => '<string>',
'routingMode' => '<string>',
'tunnelProtocol' => '<string>'
]
]),
CURLOPT_COOKIE => "k8s-gate-session=",
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{host}/api/supervisors/{name}/cilium/install"
payload := strings.NewReader("{\n \"chartSource\": \"<string>\",\n \"chartVersion\": \"<string>\",\n \"profileId\": \"<string>\",\n \"values\": {\n \"bgpControlPlane\": true,\n \"bpfLbMode\": \"<string>\",\n \"chartSource\": \"<string>\",\n \"chartVersion\": \"<string>\",\n \"clusterID\": 123,\n \"clusterMeshEnabled\": true,\n \"clusterName\": \"<string>\",\n \"clusterPoolIpv4Cidr\": \"<string>\",\n \"clusterPoolIpv4MaskSize\": 123,\n \"devices\": \"<string>\",\n \"directRoutingDevice\": \"<string>\",\n \"disableSourceIPVerification\": true,\n \"egressGatewayEnabled\": true,\n \"enableBandwidthManagerBBR\": true,\n \"enableBpfConntrackAccount\": true,\n \"enableBpfMasquerade\": true,\n \"enableEndpointRoutes\": true,\n \"enableEnvoyConfig\": true,\n \"enableGatewayAPI\": true,\n \"enableGatewayAPIAlpn\": true,\n \"enableGatewayAPIAppProtocol\": true,\n \"enableL7Proxy\": true,\n \"enablePMTUDiscovery\": true,\n \"enableSCTP\": true,\n \"envoyEnabled\": true,\n \"hubbleCertValidityDays\": 123,\n \"hubbleEnabled\": true,\n \"hubbleEventBufferCapacity\": 123,\n \"hubbleMetrics\": [\n \"<string>\"\n ],\n \"hubbleMetricsOpenMetrics\": true,\n \"hubbleNetworkPolicyCorrelation\": true,\n \"hubbleRelayEnabled\": true,\n \"hubbleTlsAutoMethod\": \"<string>\",\n \"hubbleUiEnabled\": true,\n \"imagePullSecret\": \"<string>\",\n \"ingressControllerEnabled\": true,\n \"ingressControllerLbMode\": \"<string>\",\n \"ipamMode\": \"<string>\",\n \"ipv4NativeRoutingCIDR\": \"<string>\",\n \"k8sServiceHost\": \"<string>\",\n \"k8sServicePort\": 123,\n \"kubeProxyReplacement\": true,\n \"l2AnnouncementsEnabled\": true,\n \"l2PodAnnouncementsEnabled\": true,\n \"l2PodAnnouncementsIface\": \"<string>\",\n \"mtu\": 123,\n \"operatorPrometheusEnabled\": true,\n \"prometheusEnabled\": true,\n \"rawValuesYaml\": \"<string>\",\n \"routingMode\": \"<string>\",\n \"tunnelProtocol\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("cookie", "k8s-gate-session=")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{host}/api/supervisors/{name}/cilium/install")
.header("cookie", "k8s-gate-session=")
.header("Content-Type", "application/json")
.body("{\n \"chartSource\": \"<string>\",\n \"chartVersion\": \"<string>\",\n \"profileId\": \"<string>\",\n \"values\": {\n \"bgpControlPlane\": true,\n \"bpfLbMode\": \"<string>\",\n \"chartSource\": \"<string>\",\n \"chartVersion\": \"<string>\",\n \"clusterID\": 123,\n \"clusterMeshEnabled\": true,\n \"clusterName\": \"<string>\",\n \"clusterPoolIpv4Cidr\": \"<string>\",\n \"clusterPoolIpv4MaskSize\": 123,\n \"devices\": \"<string>\",\n \"directRoutingDevice\": \"<string>\",\n \"disableSourceIPVerification\": true,\n \"egressGatewayEnabled\": true,\n \"enableBandwidthManagerBBR\": true,\n \"enableBpfConntrackAccount\": true,\n \"enableBpfMasquerade\": true,\n \"enableEndpointRoutes\": true,\n \"enableEnvoyConfig\": true,\n \"enableGatewayAPI\": true,\n \"enableGatewayAPIAlpn\": true,\n \"enableGatewayAPIAppProtocol\": true,\n \"enableL7Proxy\": true,\n \"enablePMTUDiscovery\": true,\n \"enableSCTP\": true,\n \"envoyEnabled\": true,\n \"hubbleCertValidityDays\": 123,\n \"hubbleEnabled\": true,\n \"hubbleEventBufferCapacity\": 123,\n \"hubbleMetrics\": [\n \"<string>\"\n ],\n \"hubbleMetricsOpenMetrics\": true,\n \"hubbleNetworkPolicyCorrelation\": true,\n \"hubbleRelayEnabled\": true,\n \"hubbleTlsAutoMethod\": \"<string>\",\n \"hubbleUiEnabled\": true,\n \"imagePullSecret\": \"<string>\",\n \"ingressControllerEnabled\": true,\n \"ingressControllerLbMode\": \"<string>\",\n \"ipamMode\": \"<string>\",\n \"ipv4NativeRoutingCIDR\": \"<string>\",\n \"k8sServiceHost\": \"<string>\",\n \"k8sServicePort\": 123,\n \"kubeProxyReplacement\": true,\n \"l2AnnouncementsEnabled\": true,\n \"l2PodAnnouncementsEnabled\": true,\n \"l2PodAnnouncementsIface\": \"<string>\",\n \"mtu\": 123,\n \"operatorPrometheusEnabled\": true,\n \"prometheusEnabled\": true,\n \"rawValuesYaml\": \"<string>\",\n \"routingMode\": \"<string>\",\n \"tunnelProtocol\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/api/supervisors/{name}/cilium/install")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["cookie"] = 'k8s-gate-session='
request["Content-Type"] = 'application/json'
request.body = "{\n \"chartSource\": \"<string>\",\n \"chartVersion\": \"<string>\",\n \"profileId\": \"<string>\",\n \"values\": {\n \"bgpControlPlane\": true,\n \"bpfLbMode\": \"<string>\",\n \"chartSource\": \"<string>\",\n \"chartVersion\": \"<string>\",\n \"clusterID\": 123,\n \"clusterMeshEnabled\": true,\n \"clusterName\": \"<string>\",\n \"clusterPoolIpv4Cidr\": \"<string>\",\n \"clusterPoolIpv4MaskSize\": 123,\n \"devices\": \"<string>\",\n \"directRoutingDevice\": \"<string>\",\n \"disableSourceIPVerification\": true,\n \"egressGatewayEnabled\": true,\n \"enableBandwidthManagerBBR\": true,\n \"enableBpfConntrackAccount\": true,\n \"enableBpfMasquerade\": true,\n \"enableEndpointRoutes\": true,\n \"enableEnvoyConfig\": true,\n \"enableGatewayAPI\": true,\n \"enableGatewayAPIAlpn\": true,\n \"enableGatewayAPIAppProtocol\": true,\n \"enableL7Proxy\": true,\n \"enablePMTUDiscovery\": true,\n \"enableSCTP\": true,\n \"envoyEnabled\": true,\n \"hubbleCertValidityDays\": 123,\n \"hubbleEnabled\": true,\n \"hubbleEventBufferCapacity\": 123,\n \"hubbleMetrics\": [\n \"<string>\"\n ],\n \"hubbleMetricsOpenMetrics\": true,\n \"hubbleNetworkPolicyCorrelation\": true,\n \"hubbleRelayEnabled\": true,\n \"hubbleTlsAutoMethod\": \"<string>\",\n \"hubbleUiEnabled\": true,\n \"imagePullSecret\": \"<string>\",\n \"ingressControllerEnabled\": true,\n \"ingressControllerLbMode\": \"<string>\",\n \"ipamMode\": \"<string>\",\n \"ipv4NativeRoutingCIDR\": \"<string>\",\n \"k8sServiceHost\": \"<string>\",\n \"k8sServicePort\": 123,\n \"kubeProxyReplacement\": true,\n \"l2AnnouncementsEnabled\": true,\n \"l2PodAnnouncementsEnabled\": true,\n \"l2PodAnnouncementsIface\": \"<string>\",\n \"mtu\": 123,\n \"operatorPrometheusEnabled\": true,\n \"prometheusEnabled\": true,\n \"rawValuesYaml\": \"<string>\",\n \"routingMode\": \"<string>\",\n \"tunnelProtocol\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{
"helmRelease": {
"action": "<string>",
"name": "<string>"
},
"helmRepository": {
"action": "<string>",
"name": "<string>"
},
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}networking
Install cilium
Which flow scopes this caller can address — the read that lets a flow page
Authorisation: cilium:Install on krn:celum:supervisor:{name}:cilium:*.
POST
/
api
/
supervisors
/
{name}
/
cilium
/
install
Install cilium
curl --request POST \
--url https://{host}/api/supervisors/{name}/cilium/install \
--header 'Content-Type: application/json' \
--cookie k8s-gate-session= \
--data '
{
"chartSource": "<string>",
"chartVersion": "<string>",
"profileId": "<string>",
"values": {
"bgpControlPlane": true,
"bpfLbMode": "<string>",
"chartSource": "<string>",
"chartVersion": "<string>",
"clusterID": 123,
"clusterMeshEnabled": true,
"clusterName": "<string>",
"clusterPoolIpv4Cidr": "<string>",
"clusterPoolIpv4MaskSize": 123,
"devices": "<string>",
"directRoutingDevice": "<string>",
"disableSourceIPVerification": true,
"egressGatewayEnabled": true,
"enableBandwidthManagerBBR": true,
"enableBpfConntrackAccount": true,
"enableBpfMasquerade": true,
"enableEndpointRoutes": true,
"enableEnvoyConfig": true,
"enableGatewayAPI": true,
"enableGatewayAPIAlpn": true,
"enableGatewayAPIAppProtocol": true,
"enableL7Proxy": true,
"enablePMTUDiscovery": true,
"enableSCTP": true,
"envoyEnabled": true,
"hubbleCertValidityDays": 123,
"hubbleEnabled": true,
"hubbleEventBufferCapacity": 123,
"hubbleMetrics": [
"<string>"
],
"hubbleMetricsOpenMetrics": true,
"hubbleNetworkPolicyCorrelation": true,
"hubbleRelayEnabled": true,
"hubbleTlsAutoMethod": "<string>",
"hubbleUiEnabled": true,
"imagePullSecret": "<string>",
"ingressControllerEnabled": true,
"ingressControllerLbMode": "<string>",
"ipamMode": "<string>",
"ipv4NativeRoutingCIDR": "<string>",
"k8sServiceHost": "<string>",
"k8sServicePort": 123,
"kubeProxyReplacement": true,
"l2AnnouncementsEnabled": true,
"l2PodAnnouncementsEnabled": true,
"l2PodAnnouncementsIface": "<string>",
"mtu": 123,
"operatorPrometheusEnabled": true,
"prometheusEnabled": true,
"rawValuesYaml": "<string>",
"routingMode": "<string>",
"tunnelProtocol": "<string>"
}
}
'import requests
url = "https://{host}/api/supervisors/{name}/cilium/install"
payload = {
"chartSource": "<string>",
"chartVersion": "<string>",
"profileId": "<string>",
"values": {
"bgpControlPlane": True,
"bpfLbMode": "<string>",
"chartSource": "<string>",
"chartVersion": "<string>",
"clusterID": 123,
"clusterMeshEnabled": True,
"clusterName": "<string>",
"clusterPoolIpv4Cidr": "<string>",
"clusterPoolIpv4MaskSize": 123,
"devices": "<string>",
"directRoutingDevice": "<string>",
"disableSourceIPVerification": True,
"egressGatewayEnabled": True,
"enableBandwidthManagerBBR": True,
"enableBpfConntrackAccount": True,
"enableBpfMasquerade": True,
"enableEndpointRoutes": True,
"enableEnvoyConfig": True,
"enableGatewayAPI": True,
"enableGatewayAPIAlpn": True,
"enableGatewayAPIAppProtocol": True,
"enableL7Proxy": True,
"enablePMTUDiscovery": True,
"enableSCTP": True,
"envoyEnabled": True,
"hubbleCertValidityDays": 123,
"hubbleEnabled": True,
"hubbleEventBufferCapacity": 123,
"hubbleMetrics": ["<string>"],
"hubbleMetricsOpenMetrics": True,
"hubbleNetworkPolicyCorrelation": True,
"hubbleRelayEnabled": True,
"hubbleTlsAutoMethod": "<string>",
"hubbleUiEnabled": True,
"imagePullSecret": "<string>",
"ingressControllerEnabled": True,
"ingressControllerLbMode": "<string>",
"ipamMode": "<string>",
"ipv4NativeRoutingCIDR": "<string>",
"k8sServiceHost": "<string>",
"k8sServicePort": 123,
"kubeProxyReplacement": True,
"l2AnnouncementsEnabled": True,
"l2PodAnnouncementsEnabled": True,
"l2PodAnnouncementsIface": "<string>",
"mtu": 123,
"operatorPrometheusEnabled": True,
"prometheusEnabled": True,
"rawValuesYaml": "<string>",
"routingMode": "<string>",
"tunnelProtocol": "<string>"
}
}
headers = {
"cookie": "k8s-gate-session=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {cookie: 'k8s-gate-session=', 'Content-Type': 'application/json'},
body: JSON.stringify({
chartSource: '<string>',
chartVersion: '<string>',
profileId: '<string>',
values: {
bgpControlPlane: true,
bpfLbMode: '<string>',
chartSource: '<string>',
chartVersion: '<string>',
clusterID: 123,
clusterMeshEnabled: true,
clusterName: '<string>',
clusterPoolIpv4Cidr: '<string>',
clusterPoolIpv4MaskSize: 123,
devices: '<string>',
directRoutingDevice: '<string>',
disableSourceIPVerification: true,
egressGatewayEnabled: true,
enableBandwidthManagerBBR: true,
enableBpfConntrackAccount: true,
enableBpfMasquerade: true,
enableEndpointRoutes: true,
enableEnvoyConfig: true,
enableGatewayAPI: true,
enableGatewayAPIAlpn: true,
enableGatewayAPIAppProtocol: true,
enableL7Proxy: true,
enablePMTUDiscovery: true,
enableSCTP: true,
envoyEnabled: true,
hubbleCertValidityDays: 123,
hubbleEnabled: true,
hubbleEventBufferCapacity: 123,
hubbleMetrics: ['<string>'],
hubbleMetricsOpenMetrics: true,
hubbleNetworkPolicyCorrelation: true,
hubbleRelayEnabled: true,
hubbleTlsAutoMethod: '<string>',
hubbleUiEnabled: true,
imagePullSecret: '<string>',
ingressControllerEnabled: true,
ingressControllerLbMode: '<string>',
ipamMode: '<string>',
ipv4NativeRoutingCIDR: '<string>',
k8sServiceHost: '<string>',
k8sServicePort: 123,
kubeProxyReplacement: true,
l2AnnouncementsEnabled: true,
l2PodAnnouncementsEnabled: true,
l2PodAnnouncementsIface: '<string>',
mtu: 123,
operatorPrometheusEnabled: true,
prometheusEnabled: true,
rawValuesYaml: '<string>',
routingMode: '<string>',
tunnelProtocol: '<string>'
}
})
};
fetch('https://{host}/api/supervisors/{name}/cilium/install', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{host}/api/supervisors/{name}/cilium/install",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'chartSource' => '<string>',
'chartVersion' => '<string>',
'profileId' => '<string>',
'values' => [
'bgpControlPlane' => true,
'bpfLbMode' => '<string>',
'chartSource' => '<string>',
'chartVersion' => '<string>',
'clusterID' => 123,
'clusterMeshEnabled' => true,
'clusterName' => '<string>',
'clusterPoolIpv4Cidr' => '<string>',
'clusterPoolIpv4MaskSize' => 123,
'devices' => '<string>',
'directRoutingDevice' => '<string>',
'disableSourceIPVerification' => true,
'egressGatewayEnabled' => true,
'enableBandwidthManagerBBR' => true,
'enableBpfConntrackAccount' => true,
'enableBpfMasquerade' => true,
'enableEndpointRoutes' => true,
'enableEnvoyConfig' => true,
'enableGatewayAPI' => true,
'enableGatewayAPIAlpn' => true,
'enableGatewayAPIAppProtocol' => true,
'enableL7Proxy' => true,
'enablePMTUDiscovery' => true,
'enableSCTP' => true,
'envoyEnabled' => true,
'hubbleCertValidityDays' => 123,
'hubbleEnabled' => true,
'hubbleEventBufferCapacity' => 123,
'hubbleMetrics' => [
'<string>'
],
'hubbleMetricsOpenMetrics' => true,
'hubbleNetworkPolicyCorrelation' => true,
'hubbleRelayEnabled' => true,
'hubbleTlsAutoMethod' => '<string>',
'hubbleUiEnabled' => true,
'imagePullSecret' => '<string>',
'ingressControllerEnabled' => true,
'ingressControllerLbMode' => '<string>',
'ipamMode' => '<string>',
'ipv4NativeRoutingCIDR' => '<string>',
'k8sServiceHost' => '<string>',
'k8sServicePort' => 123,
'kubeProxyReplacement' => true,
'l2AnnouncementsEnabled' => true,
'l2PodAnnouncementsEnabled' => true,
'l2PodAnnouncementsIface' => '<string>',
'mtu' => 123,
'operatorPrometheusEnabled' => true,
'prometheusEnabled' => true,
'rawValuesYaml' => '<string>',
'routingMode' => '<string>',
'tunnelProtocol' => '<string>'
]
]),
CURLOPT_COOKIE => "k8s-gate-session=",
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{host}/api/supervisors/{name}/cilium/install"
payload := strings.NewReader("{\n \"chartSource\": \"<string>\",\n \"chartVersion\": \"<string>\",\n \"profileId\": \"<string>\",\n \"values\": {\n \"bgpControlPlane\": true,\n \"bpfLbMode\": \"<string>\",\n \"chartSource\": \"<string>\",\n \"chartVersion\": \"<string>\",\n \"clusterID\": 123,\n \"clusterMeshEnabled\": true,\n \"clusterName\": \"<string>\",\n \"clusterPoolIpv4Cidr\": \"<string>\",\n \"clusterPoolIpv4MaskSize\": 123,\n \"devices\": \"<string>\",\n \"directRoutingDevice\": \"<string>\",\n \"disableSourceIPVerification\": true,\n \"egressGatewayEnabled\": true,\n \"enableBandwidthManagerBBR\": true,\n \"enableBpfConntrackAccount\": true,\n \"enableBpfMasquerade\": true,\n \"enableEndpointRoutes\": true,\n \"enableEnvoyConfig\": true,\n \"enableGatewayAPI\": true,\n \"enableGatewayAPIAlpn\": true,\n \"enableGatewayAPIAppProtocol\": true,\n \"enableL7Proxy\": true,\n \"enablePMTUDiscovery\": true,\n \"enableSCTP\": true,\n \"envoyEnabled\": true,\n \"hubbleCertValidityDays\": 123,\n \"hubbleEnabled\": true,\n \"hubbleEventBufferCapacity\": 123,\n \"hubbleMetrics\": [\n \"<string>\"\n ],\n \"hubbleMetricsOpenMetrics\": true,\n \"hubbleNetworkPolicyCorrelation\": true,\n \"hubbleRelayEnabled\": true,\n \"hubbleTlsAutoMethod\": \"<string>\",\n \"hubbleUiEnabled\": true,\n \"imagePullSecret\": \"<string>\",\n \"ingressControllerEnabled\": true,\n \"ingressControllerLbMode\": \"<string>\",\n \"ipamMode\": \"<string>\",\n \"ipv4NativeRoutingCIDR\": \"<string>\",\n \"k8sServiceHost\": \"<string>\",\n \"k8sServicePort\": 123,\n \"kubeProxyReplacement\": true,\n \"l2AnnouncementsEnabled\": true,\n \"l2PodAnnouncementsEnabled\": true,\n \"l2PodAnnouncementsIface\": \"<string>\",\n \"mtu\": 123,\n \"operatorPrometheusEnabled\": true,\n \"prometheusEnabled\": true,\n \"rawValuesYaml\": \"<string>\",\n \"routingMode\": \"<string>\",\n \"tunnelProtocol\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("cookie", "k8s-gate-session=")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{host}/api/supervisors/{name}/cilium/install")
.header("cookie", "k8s-gate-session=")
.header("Content-Type", "application/json")
.body("{\n \"chartSource\": \"<string>\",\n \"chartVersion\": \"<string>\",\n \"profileId\": \"<string>\",\n \"values\": {\n \"bgpControlPlane\": true,\n \"bpfLbMode\": \"<string>\",\n \"chartSource\": \"<string>\",\n \"chartVersion\": \"<string>\",\n \"clusterID\": 123,\n \"clusterMeshEnabled\": true,\n \"clusterName\": \"<string>\",\n \"clusterPoolIpv4Cidr\": \"<string>\",\n \"clusterPoolIpv4MaskSize\": 123,\n \"devices\": \"<string>\",\n \"directRoutingDevice\": \"<string>\",\n \"disableSourceIPVerification\": true,\n \"egressGatewayEnabled\": true,\n \"enableBandwidthManagerBBR\": true,\n \"enableBpfConntrackAccount\": true,\n \"enableBpfMasquerade\": true,\n \"enableEndpointRoutes\": true,\n \"enableEnvoyConfig\": true,\n \"enableGatewayAPI\": true,\n \"enableGatewayAPIAlpn\": true,\n \"enableGatewayAPIAppProtocol\": true,\n \"enableL7Proxy\": true,\n \"enablePMTUDiscovery\": true,\n \"enableSCTP\": true,\n \"envoyEnabled\": true,\n \"hubbleCertValidityDays\": 123,\n \"hubbleEnabled\": true,\n \"hubbleEventBufferCapacity\": 123,\n \"hubbleMetrics\": [\n \"<string>\"\n ],\n \"hubbleMetricsOpenMetrics\": true,\n \"hubbleNetworkPolicyCorrelation\": true,\n \"hubbleRelayEnabled\": true,\n \"hubbleTlsAutoMethod\": \"<string>\",\n \"hubbleUiEnabled\": true,\n \"imagePullSecret\": \"<string>\",\n \"ingressControllerEnabled\": true,\n \"ingressControllerLbMode\": \"<string>\",\n \"ipamMode\": \"<string>\",\n \"ipv4NativeRoutingCIDR\": \"<string>\",\n \"k8sServiceHost\": \"<string>\",\n \"k8sServicePort\": 123,\n \"kubeProxyReplacement\": true,\n \"l2AnnouncementsEnabled\": true,\n \"l2PodAnnouncementsEnabled\": true,\n \"l2PodAnnouncementsIface\": \"<string>\",\n \"mtu\": 123,\n \"operatorPrometheusEnabled\": true,\n \"prometheusEnabled\": true,\n \"rawValuesYaml\": \"<string>\",\n \"routingMode\": \"<string>\",\n \"tunnelProtocol\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/api/supervisors/{name}/cilium/install")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["cookie"] = 'k8s-gate-session='
request["Content-Type"] = 'application/json'
request.body = "{\n \"chartSource\": \"<string>\",\n \"chartVersion\": \"<string>\",\n \"profileId\": \"<string>\",\n \"values\": {\n \"bgpControlPlane\": true,\n \"bpfLbMode\": \"<string>\",\n \"chartSource\": \"<string>\",\n \"chartVersion\": \"<string>\",\n \"clusterID\": 123,\n \"clusterMeshEnabled\": true,\n \"clusterName\": \"<string>\",\n \"clusterPoolIpv4Cidr\": \"<string>\",\n \"clusterPoolIpv4MaskSize\": 123,\n \"devices\": \"<string>\",\n \"directRoutingDevice\": \"<string>\",\n \"disableSourceIPVerification\": true,\n \"egressGatewayEnabled\": true,\n \"enableBandwidthManagerBBR\": true,\n \"enableBpfConntrackAccount\": true,\n \"enableBpfMasquerade\": true,\n \"enableEndpointRoutes\": true,\n \"enableEnvoyConfig\": true,\n \"enableGatewayAPI\": true,\n \"enableGatewayAPIAlpn\": true,\n \"enableGatewayAPIAppProtocol\": true,\n \"enableL7Proxy\": true,\n \"enablePMTUDiscovery\": true,\n \"enableSCTP\": true,\n \"envoyEnabled\": true,\n \"hubbleCertValidityDays\": 123,\n \"hubbleEnabled\": true,\n \"hubbleEventBufferCapacity\": 123,\n \"hubbleMetrics\": [\n \"<string>\"\n ],\n \"hubbleMetricsOpenMetrics\": true,\n \"hubbleNetworkPolicyCorrelation\": true,\n \"hubbleRelayEnabled\": true,\n \"hubbleTlsAutoMethod\": \"<string>\",\n \"hubbleUiEnabled\": true,\n \"imagePullSecret\": \"<string>\",\n \"ingressControllerEnabled\": true,\n \"ingressControllerLbMode\": \"<string>\",\n \"ipamMode\": \"<string>\",\n \"ipv4NativeRoutingCIDR\": \"<string>\",\n \"k8sServiceHost\": \"<string>\",\n \"k8sServicePort\": 123,\n \"kubeProxyReplacement\": true,\n \"l2AnnouncementsEnabled\": true,\n \"l2PodAnnouncementsEnabled\": true,\n \"l2PodAnnouncementsIface\": \"<string>\",\n \"mtu\": 123,\n \"operatorPrometheusEnabled\": true,\n \"prometheusEnabled\": true,\n \"rawValuesYaml\": \"<string>\",\n \"routingMode\": \"<string>\",\n \"tunnelProtocol\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{
"helmRelease": {
"action": "<string>",
"name": "<string>"
},
"helmRepository": {
"action": "<string>",
"name": "<string>"
},
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
sessionCookiebearerToken
The session cookie issued by the OIDC sign-in flow. This is what a browser uses.
Path Parameters
The supervisor's name, as registered under Administration → Supervisors.
Body
application/json