Permalink
Switch branches/tags
0.0.37 0.0.38 470-google-cdn-2 1166-fix-unit-tests 1353-suppress-vanity-headers 1680-make-broken-link-sleuther-do-big-files 1682 1780 1861 ORIC agri-color authConnectors bump-to-0.0.49 client_graphql closeLinearRings cloud-showcase css-fix datajson-licensejson dataset-page-style disable-inactive-link facet-option-preselect feature/client-preview-merged feature/client-preview feature/es-http-changeover fix-external-url fix_exception graphql_api graphql_filtering graphql_minimal issue-285-auth issue-749 issue-1628c issue-1628 issue/159-preview-zoom issue/893-qspatial-failure issue/893 issue/983-alt issue/983 issue/1051-disable-clear-button-on-map-filter issue/1117-Make-dataset-filter-more-obvious issue/1181-Correct-tooltip-text issue/1188 issue/1317-test issue/1600 issue/1640-alt issue/1640-alt2 issue/1640 issue/1653.2 issue/1673 issue/1717-direct-non-prod-emails-to-default-mailbox issue/1756 issue/1779 issue/1780 issue/1823-alt issue/1823 issue/1847 issue/1859-ie11-is-fubar issue/1874 issue/1914 issue/1915 issue/1918 issue/1923-wrong-postgres-password-secret-key logo-glitch logos master merge-0.0.49-to-0.0.50 merge/0.0.50 new-homepage-header new-homepage-searchbox release/add-automatic-deploy-for-release release/0.0.40 release/0.0.42 release/0.0.43 release/0.0.44 release/0.0.45 release/0.0.46 release/0.0.47 release/0.0.48 release/0.0.49 release/0.0.50 scala_registry_graphql_api scoring southaustralia spatial stephencannings-patch-13 stephencannings-patch-16 stephencannings-patch-22 summarize-sleuther temp-disable-filter-mobile terriajs-connector test-dga test-timeout test-upgrade test trail-darwin-portal uat-dga vis_categories_exp visualisation-overhaul visualisation_sleuther `756
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (18 sloc) 1.1 KB

Installing Docker Kubernetes

In the latest Edge release for MacOS, Docker have included a local kubernetes cluster that works a bit like Minikube - although in our experience it runs a bit better.

Download and install:

Make sure you get the EDGE client - as of the time of writing Kubernetes isn't in the stable client.

Setup

Start up Docker for Mac. Find the icon in the top-right hand corner of the screen and open "Preferences". Then navigate to "Advanced" and set the resources so your cluster has 2 processors and 4gb of RAM.

Advanced Tab Screenshot

Then enable Kubernetes

Kubernetes Tab Screenshot

Once it's enabled you can switch your kubectl context via the docker menu, or run

kubectl config use-context docker-for-desktop

Last thing to do is create the standard storageclass used by Magda:

kubectl create -f deploy/kubernetes/docker-client-standard-storage.yaml