mirror of https://github.com/kubernetes/kops.git
doc: add dns feature
This commit is contained in:
parent
493aacf8cf
commit
12d6b12125
|
@ -68,7 +68,7 @@ func main() {
|
||||||
flags.BoolVar(&watchIngress, "watch-ingress", true, "Configure hostnames found in ingress resources")
|
flags.BoolVar(&watchIngress, "watch-ingress", true, "Configure hostnames found in ingress resources")
|
||||||
flags.StringSliceVar(&gossipSeeds, "gossip-seed", gossipSeeds, "If set, will enable gossip zones and seed using the provided addresses")
|
flags.StringSliceVar(&gossipSeeds, "gossip-seed", gossipSeeds, "If set, will enable gossip zones and seed using the provided addresses")
|
||||||
flags.StringSliceVarP(&zones, "zone", "z", []string{}, "Configure permitted zones and their mappings")
|
flags.StringSliceVarP(&zones, "zone", "z", []string{}, "Configure permitted zones and their mappings")
|
||||||
flags.StringVar(&dnsProviderID, "dns", "aws-route53", "DNS provider we should use (aws-route53, google-clouddns, digitalocean, gossip, openstack-designate)")
|
flags.StringVar(&dnsProviderID, "dns", "aws-route53", "DNS provider we should use (aws-route53, google-clouddns, digitalocean, gossip, openstack-designate, scaleway)")
|
||||||
flag.StringVar(&gossipProtocol, "gossip-protocol", "mesh", "mesh/memberlist")
|
flag.StringVar(&gossipProtocol, "gossip-protocol", "mesh", "mesh/memberlist")
|
||||||
flags.StringVar(&gossipListen, "gossip-listen", fmt.Sprintf("0.0.0.0:%d", wellknownports.DNSControllerGossipWeaveMesh), "The address on which to listen if gossip is enabled")
|
flags.StringVar(&gossipListen, "gossip-listen", fmt.Sprintf("0.0.0.0:%d", wellknownports.DNSControllerGossipWeaveMesh), "The address on which to listen if gossip is enabled")
|
||||||
flags.StringVar(&gossipSecret, "gossip-secret", gossipSecret, "Secret to use to secure gossip")
|
flags.StringVar(&gossipSecret, "gossip-secret", gossipSecret, "Secret to use to secure gossip")
|
||||||
|
|
|
@ -10,15 +10,14 @@
|
||||||
|
|
||||||
### Coming soon
|
### Coming soon
|
||||||
|
|
||||||
* Scaleway DNS (to create clusters with a custom domain name)
|
* [Terraform](https://github.com/scaleway/terraform-provider-scaleway) support
|
||||||
* Private network
|
* Private network
|
||||||
|
|
||||||
### Next features to implement
|
### Next features to implement
|
||||||
|
|
||||||
* `kops rolling-update`
|
* `kops rolling-update`
|
||||||
* BareMetal servers
|
|
||||||
* [Terraform](https://github.com/scaleway/terraform-provider-scaleway) support
|
|
||||||
* [Autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler/cloudprovider/scaleway) support
|
* [Autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler/cloudprovider/scaleway) support
|
||||||
|
* BareMetal servers
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
|
@ -30,7 +29,7 @@
|
||||||
### Optional
|
### Optional
|
||||||
|
|
||||||
* [SSH key](https://www.scaleway.com/en/docs/configure-new-ssh-key/) : creating a cluster can be done without an SSH key, but it is required to update it. `id_rsa` and `id_ed25519` keys are supported
|
* [SSH key](https://www.scaleway.com/en/docs/configure-new-ssh-key/) : creating a cluster can be done without an SSH key, but it is required to update it. `id_rsa` and `id_ed25519` keys are supported
|
||||||
|
* [Domain name](https://www.scaleway.com/en/docs/network/domains-and-dns/quickstart/) : if you want to host your cluster on your own domain, you will have to register it with Scaleway.
|
||||||
|
|
||||||
## Environment Variables
|
## Environment Variables
|
||||||
|
|
||||||
|
@ -65,6 +64,8 @@ Note that for now you can only create a kops cluster in a single availability zo
|
||||||
kops create cluster --cloud=scaleway --name=mycluster.k8s.local --zones=fr-par-1 --yes
|
kops create cluster --cloud=scaleway --name=mycluster.k8s.local --zones=fr-par-1 --yes
|
||||||
# This creates a cluster with no DNS in zone nl-ams-2
|
# This creates a cluster with no DNS in zone nl-ams-2
|
||||||
kops create cluster --cloud=scaleway --name=my.cluster --zones=nl-ams-2 --yes
|
kops create cluster --cloud=scaleway --name=my.cluster --zones=nl-ams-2 --yes
|
||||||
|
# This creates a cluster with the Scaleway DNS (on a domain name that you own and have registered with Scaleway) in zone pl-waw-1
|
||||||
|
kops create cluster --cloud=scaleway --name=mycluster.mydomain.com --zones=pl-waw-1 --yes
|
||||||
```
|
```
|
||||||
|
|
||||||
### Editing your cluster
|
### Editing your cluster
|
||||||
|
|
Loading…
Reference in New Issue