mirror of
https://github.com/portainer/portainer.git
synced 2025-07-27 09:19:39 +02:00
fix(kube): update kubectl agent install instructions (#7421)
This commit is contained in:
parent
539948b5a6
commit
8ff2fa66b6
1 changed files with 2 additions and 2 deletions
|
@ -73,13 +73,13 @@ export function DeploymentScripts() {
|
||||||
function kubeNodePortCommand(agentVersion: string) {
|
function kubeNodePortCommand(agentVersion: string) {
|
||||||
const agentShortVersion = getAgentShortVersion(agentVersion);
|
const agentShortVersion = getAgentShortVersion(agentVersion);
|
||||||
|
|
||||||
return `curl -L https://downloads.portainer.io/ee${agentShortVersion}/portainer-agent-k8s-nodeport.yaml -o portainer-agent-k8s.yaml; kubectl apply -f portainer-agent-k8s.yaml`;
|
return `kubectl apply -f https://downloads.portainer.io/ce${agentShortVersion}/portainer-agent-k8s-nodeport.yaml`;
|
||||||
}
|
}
|
||||||
|
|
||||||
function kubeLoadBalancerCommand(agentVersion: string) {
|
function kubeLoadBalancerCommand(agentVersion: string) {
|
||||||
const agentShortVersion = getAgentShortVersion(agentVersion);
|
const agentShortVersion = getAgentShortVersion(agentVersion);
|
||||||
|
|
||||||
return `curl -L https://downloads.portainer.io/ee${agentShortVersion}/portainer-agent-k8s-lb.yaml -o portainer-agent-k8s.yaml; kubectl apply -f portainer-agent-k8s.yaml`;
|
return `kubectl apply -f https://downloads.portainer.io/ce${agentShortVersion}/portainer-agent-k8s-lb.yaml`;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface LoadBalancerProps {
|
interface LoadBalancerProps {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue