mirror of
https://code.forgejo.org/infrastructure/documentation
synced 2024-11-25 12:11:10 +00:00
@viceice review comments
This commit is contained in:
parent
92f39f169d
commit
5f8969ee0e
|
@ -182,7 +182,7 @@ EOF
|
||||||
args="$args --disable-apiserver --disable-controller-manager --disable-scheduler"
|
args="$args --disable-apiserver --disable-controller-manager --disable-scheduler"
|
||||||
fi
|
fi
|
||||||
export INSTALL_K3S_VERSION=$K3S_VERSION
|
export INSTALL_K3S_VERSION=$K3S_VERSION
|
||||||
curl -fL https://get.k3s.io | sh -s - server $args --cluster-init --disable=servicelb --disable=traefik --write-kubeconfig-mode=644 --node-ip=$node_k8s_ipv4_prefix.$self_node,$node_k8s_ipv6_prefix::$self_node $node_k8s_cidr --flannel-ipv6-masq
|
curl -fL https://get.k3s.io | sh -s - server $args --cluster-init --disable=servicelb --disable=traefik --write-kubeconfig-mode=600 --node-ip=$node_k8s_ipv4_prefix.$self_node,$node_k8s_ipv6_prefix::$self_node $node_k8s_cidr --flannel-ipv6-masq
|
||||||
if test "$self_node" = $node_k8s_etcd; then
|
if test "$self_node" = $node_k8s_etcd; then
|
||||||
retry --times 20 -- kubectl taint nodes $(hostname) key1=value1:NoSchedule
|
retry --times 20 -- kubectl taint nodes $(hostname) key1=value1:NoSchedule
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -17,7 +17,6 @@ service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
ipFamilyPolicy: PreferDualStack
|
ipFamilyPolicy: PreferDualStack
|
||||||
clusterIP: ~
|
clusterIP: ~
|
||||||
port: 3000
|
|
||||||
ssh:
|
ssh:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
clusterIP: ~
|
clusterIP: ~
|
||||||
|
|
|
@ -21,7 +21,7 @@ ingress:
|
||||||
|
|
||||||
service:
|
service:
|
||||||
ssh:
|
ssh:
|
||||||
port: 2222
|
port: ssh
|
||||||
|
|
||||||
extraDeploy:
|
extraDeploy:
|
||||||
# Route from traefik to forgejo
|
# Route from traefik to forgejo
|
||||||
|
|
Loading…
Reference in a new issue