-
Notifications
You must be signed in to change notification settings - Fork 0
/
5281b7a2.e1304d53.js
1 lines (1 loc) · 5.42 KB
/
5281b7a2.e1304d53.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{149:function(e,t,r){"use strict";r.r(t),r.d(t,"frontMatter",(function(){return c})),r.d(t,"metadata",(function(){return i})),r.d(t,"rightToc",(function(){return b})),r.d(t,"default",(function(){return p}));var n=r(2),a=r(9),o=(r(0),r(173)),c={id:"architecture",title:"Architecture"},i={id:"architecture",title:"Architecture",description:"The following diagram demonstrates the overall cluster design which will be implemented via the Ansible automation if you follow the above guide.",source:"@site/docs/architecture.md",permalink:"/docs/architecture",editUrl:"https://github.com/raspbernetes/docs/edit/master/website/docs/architecture.md"},b=[{value:"Network topology",id:"network-topology",children:[]}],l={rightToc:b};function p(e){var t=e.components,r=Object(a.a)(e,["components"]);return Object(o.b)("wrapper",Object(n.a)({},l,r,{components:t,mdxType:"MDXLayout"}),Object(o.b)("p",null,"The following diagram demonstrates the overall cluster design which will be implemented via the Ansible automation if you follow the above guide."),Object(o.b)("blockquote",null,Object(o.b)("p",{parentName:"blockquote"},"To obtain a highly available Kubernetes cluster we've chosen to use the ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/ha-topology/#stacked-etcd-topology"}),"stacked etcd toplogy"),". This is the default configuration as the ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/ha-topology/#external-etcd-topology"}),"external etcd cluster")," alternative requires additional compute resources.")),Object(o.b)("p",null,Object(o.b)("img",Object(n.a)({parentName:"p"},{src:"https://github.com/raspbernetes/k8s-cluster-installation/blob/master/docs/images/raspbernetes-cluster-design.png",alt:"cluster-design"}))),Object(o.b)("h2",{id:"network-topology"},"Network topology"),Object(o.b)("table",null,Object(o.b)("thead",{parentName:"table"},Object(o.b)("tr",{parentName:"thead"},Object(o.b)("th",Object(n.a)({parentName:"tr"},{align:"center"}),"IP"),Object(o.b)("th",Object(n.a)({parentName:"tr"},{align:"center"}),"Function"))),Object(o.b)("tbody",{parentName:"table"},Object(o.b)("tr",{parentName:"tbody"},Object(o.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"192.168.1.1"),Object(o.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"Router")),Object(o.b)("tr",{parentName:"tbody"},Object(o.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"192.168.1.121"),Object(o.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"master (k8s-master-01)")),Object(o.b)("tr",{parentName:"tbody"},Object(o.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"192.168.1.122"),Object(o.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"master (k8s-master-02)")),Object(o.b)("tr",{parentName:"tbody"},Object(o.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"192.168.1.123"),Object(o.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"master (k8s-master-03)")),Object(o.b)("tr",{parentName:"tbody"},Object(o.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"192.168.1.131"),Object(o.b)("td",Object(n.a)({parentName:"tr"},{align:"center"}),"worker (k8s-worker-01)")))))}p.isMDXComponent=!0},173:function(e,t,r){"use strict";r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return m}));var n=r(0),a=r.n(n);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=a.a.createContext({}),p=function(e){var t=a.a.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=p(e.components);return a.a.createElement(l.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return a.a.createElement(a.a.Fragment,{},t)}},d=a.a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,o=e.originalType,c=e.parentName,l=b(e,["components","mdxType","originalType","parentName"]),u=p(r),d=n,m=u["".concat(c,".").concat(d)]||u[d]||s[d]||o;return r?a.a.createElement(m,i(i({ref:t},l),{},{components:r})):a.a.createElement(m,i({ref:t},l))}));function m(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var o=r.length,c=new Array(o);c[0]=d;var i={};for(var b in t)hasOwnProperty.call(t,b)&&(i[b]=t[b]);i.originalType=e,i.mdxType="string"==typeof e?e:n,c[1]=i;for(var l=2;l<o;l++)c[l]=r[l];return a.a.createElement.apply(null,c)}return a.a.createElement.apply(null,r)}d.displayName="MDXCreateElement"}}]);