fix(kube): update kubectl agent install instructions (#7421)
parent
539948b5a6
commit
8ff2fa66b6
|
@ -73,13 +73,13 @@ export function DeploymentScripts() {
|
|||
function kubeNodePortCommand(agentVersion: string) {
|
||||
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) {
|
||||
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 {
|
||||
|
|
Loading…
Reference in New Issue