mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Fixed a missing bracket and removed some white spaces and stray %}
This commit is contained in:
parent
5450afdabc
commit
178473d340
@ -257,7 +257,7 @@ There are two main options for security:
|
|||||||
- Access the apiserver using HTTP.
|
- Access the apiserver using HTTP.
|
||||||
- Use a firewall for security.
|
- Use a firewall for security.
|
||||||
- This is easier to setup.
|
- This is easier to setup.
|
||||||
- Access the apiserver using HTTPS
|
- Access the apiserver using HTTPS
|
||||||
- Use https with certs, and credentials for user.
|
- Use https with certs, and credentials for user.
|
||||||
- This is the recommended approach.
|
- This is the recommended approach.
|
||||||
- Configuring certs can be tricky.
|
- Configuring certs can be tricky.
|
||||||
@ -390,7 +390,7 @@ so that kube-proxy can manage iptables instead of docker.
|
|||||||
- if you have setup PodIPs to be routable, then you want this false, otherwise, docker will
|
- if you have setup PodIPs to be routable, then you want this false, otherwise, docker will
|
||||||
rewrite the PodIP source-address to a NodeIP.
|
rewrite the PodIP source-address to a NodeIP.
|
||||||
- some environments (e.g. GCE) still need you to masquerade out-bound traffic when it leaves the cloud environment. This is very environment specific.
|
- some environments (e.g. GCE) still need you to masquerade out-bound traffic when it leaves the cloud environment. This is very environment specific.
|
||||||
- if you are using an overlay network, consult those instructions.
|
- if you are using an overlay network, consult those instructions.
|
||||||
- `--mtu=`
|
- `--mtu=`
|
||||||
- may be required when using Flannel, because of the extra packet size due to udp encapsulation
|
- may be required when using Flannel, because of the extra packet size due to udp encapsulation
|
||||||
- `--insecure-registry $CLUSTER_SUBNET`
|
- `--insecure-registry $CLUSTER_SUBNET`
|
||||||
@ -430,13 +430,13 @@ Arguments to consider:
|
|||||||
- `--kubeconfig=/var/lib/kubelet/kubeconfig`
|
- `--kubeconfig=/var/lib/kubelet/kubeconfig`
|
||||||
- Otherwise, if taking the firewall-based security approach
|
- Otherwise, if taking the firewall-based security approach
|
||||||
- `--api-servers=http://$MASTER_IP`
|
- `--api-servers=http://$MASTER_IP`
|
||||||
- `--config=/etc/kubernetes/manifests` -%}
|
- `--config=/etc/kubernetes/manifests`
|
||||||
- `--cluster-dns=` to the address of the DNS server you will setup (see [Starting Addons](#starting-addons).)
|
- `--cluster-dns=` to the address of the DNS server you will setup (see [Starting Addons](#starting-addons).)
|
||||||
- `--cluster-domain=` to the dns domain prefix to use for cluster DNS addresses.
|
- `--cluster-domain=` to the dns domain prefix to use for cluster DNS addresses.
|
||||||
- `--docker-root=`
|
- `--docker-root=`
|
||||||
- `--root-dir=`
|
- `--root-dir=`
|
||||||
- `--configure-cbr0=` (described above)
|
- `--configure-cbr0=` (described above)
|
||||||
- `--register-node` (described in [Node](../admin/node.md) documentation.
|
- `--register-node` (described in [Node](../admin/node.md) documentation.)
|
||||||
|
|
||||||
### kube-proxy
|
### kube-proxy
|
||||||
|
|
||||||
@ -523,7 +523,7 @@ all configured and managed *by Kubernetes*:
|
|||||||
|
|
||||||
### etcd
|
### etcd
|
||||||
|
|
||||||
You will need to run one or more instances of etcd.
|
You will need to run one or more instances of etcd.
|
||||||
- Recommended approach: run one etcd instance, with its log written to a directory backed
|
- Recommended approach: run one etcd instance, with its log written to a directory backed
|
||||||
by durable storage (RAID, GCE PD)
|
by durable storage (RAID, GCE PD)
|
||||||
- Alternative: run 3 or 5 etcd instances.
|
- Alternative: run 3 or 5 etcd instances.
|
||||||
@ -547,13 +547,13 @@ To run the apiserver:
|
|||||||
Here are some apiserver flags you may need to set:
|
Here are some apiserver flags you may need to set:
|
||||||
- `--cloud-provider=`
|
- `--cloud-provider=`
|
||||||
- `--cloud-config=` if cloud provider requires a config file (GCE, AWS). If so, need to put config file into apiserver image or mount through hostPath.
|
- `--cloud-config=` if cloud provider requires a config file (GCE, AWS). If so, need to put config file into apiserver image or mount through hostPath.
|
||||||
- `--address=${MASTER_IP}`.
|
- `--address=${MASTER_IP}`.
|
||||||
- or `--bind-address=127.0.0.1` and `--address=127.0.0.1` if you want to run a proxy on the master node.
|
- or `--bind-address=127.0.0.1` and `--address=127.0.0.1` if you want to run a proxy on the master node.
|
||||||
- `--cluster-name=$CLUSTER_NAME`
|
- `--cluster-name=$CLUSTER_NAME`
|
||||||
- `--service-cluster-ip-range=$SERVICE_CLUSTER_IP_RANGE`
|
- `--service-cluster-ip-range=$SERVICE_CLUSTER_IP_RANGE`
|
||||||
- `--etcd-servers=http://127.0.0.1:4001`
|
- `--etcd-servers=http://127.0.0.1:4001`
|
||||||
- `--tls-cert-file=/srv/kubernetes/server.cert` -%}
|
- `--tls-cert-file=/srv/kubernetes/server.cert`
|
||||||
- `--tls-private-key-file=/srv/kubernetes/server.key` -%}
|
- `--tls-private-key-file=/srv/kubernetes/server.key`
|
||||||
- `--admission-control=$RECOMMENDED_LIST`
|
- `--admission-control=$RECOMMENDED_LIST`
|
||||||
- See [admission controllers](../admin/admission-controllers.md) for recommended arguments.
|
- See [admission controllers](../admin/admission-controllers.md) for recommended arguments.
|
||||||
- `--allow-privileged=true`, only if you trust your cluster user to run pods as root.
|
- `--allow-privileged=true`, only if you trust your cluster user to run pods as root.
|
||||||
@ -740,7 +740,7 @@ Flags to consider using with controller manager.
|
|||||||
- `--allocate-node-cidrs=`
|
- `--allocate-node-cidrs=`
|
||||||
- *TODO*: explain when you want controller to do this and when you wanna do it another way.
|
- *TODO*: explain when you want controller to do this and when you wanna do it another way.
|
||||||
- `--cloud-provider=` and `--cloud-config` as described in apiserver section.
|
- `--cloud-provider=` and `--cloud-config` as described in apiserver section.
|
||||||
- `--service-account-private-key-file=/srv/kubernetes/server.key`, used by [service account](../user-guide/service-accounts.md) feature.
|
- `--service-account-private-key-file=/srv/kubernetes/server.key`, used by [service account](../user-guide/service-accounts.md) feature.
|
||||||
- `--master=127.0.0.1:8080`
|
- `--master=127.0.0.1:8080`
|
||||||
|
|
||||||
Template for controller manager pod:
|
Template for controller manager pod:
|
||||||
|
Loading…
Reference in New Issue
Block a user