Skip to content

Commit

Permalink
Merge pull request #38 from rhuss/master
Browse files Browse the repository at this point in the history
chore: Minor updates to README and profile script
  • Loading branch information
rhuss authored Oct 24, 2017
2 parents 490560a + b48111b commit 8901524
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,12 @@ In the `tools/` directory you find some useful scripts:
* `reboot_pis.sh` reboot the cluster (needs still a bit of tuning)
* `init_machine_id.sh` initialize the `/etc/machine-id` to a random value on every host

### FAQ

* _I have random DNS issues when resolving external IP adresses_

One reason for this could be, that your external DNS provider does some nasty things when a resolution fails (which then might be even cached by Kubernetes). E.g. the Deutsche Telekom is known that by default it enables a so called "Navigationshilfe" which redirect for a failed DNS lookup to their own pages. You can turn this off in the "Kundencenter" preferences. More on the symptoms can be found in this [issue](https://github.com/Project31/ansible-kubernetes-openshift-pi3/issues/34)

### Next steps ...

For the future we plan the following features to add:
Expand All @@ -183,5 +189,6 @@ For the future we plan the following features to add:

### Acknowledgements

* Many thanks goes out to Lucas Käldström whose [kubeadm workshop](https://github.com/luxas/kubeadm-workshop) gave a lot of inspiration to these playbooks.
* Thanks to Sergio Sisternes for the inspiration to switch to `kubeadm` which makes things much easier and the manual setup of `etcd` and `flanneld` superfluous.
* Many kudos to Robert Peteuil for a thorough review of the Ansible tasks and update information for Hypriot 1.5. This has simplified the role definitions considerably.
3 changes: 1 addition & 2 deletions roles/kubernetes/templates/kubernetes_profile.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Shortcut
alias k=kubectl

alias k='kubectl "--context=${KUBECTL_CONTEXT:-$(kubectl config current-context)}" ${KUBECTL_NAMESPACE/[[:alnum:]-]*/--namespace=${KUBECTL_NAMESPACE}}'

source <(kubectl completion bash)
source <(kubectl completion bash | sed s/kubectl/k/g)
Expand Down

0 comments on commit 8901524

Please sign in to comment.