https://kubernetes.io/docs/reference/kubectl/overview/
https://kubernetes.io/docs/reference/kubectl/cheatsheet/
minikube version
minikube start
Now we have kubectl
available
<script type="text/javascript"> | |
(function () { | |
"use strict"; | |
// once cached, the css file is stored on the client forever unless | |
// the URL below is changed. Any change will invalidate the cache | |
var css_href = './index_files/web-fonts.css'; | |
// a simple event handler wrapper | |
function on(el, ev, callback) { | |
if (el.addEventListener) { | |
el.addEventListener(ev, callback, false); |
/** @jsx React.DOM */ | |
var ReadingTimeWidget = React.createClass({ | |
getInitialState: function() { | |
return ({ | |
secondsRequired: null, | |
}); | |
}, | |
componentWillMount: function() { | |
var cdiv = this.props.contentDiv; |
/* | |
By Osvaldas Valutis, www.osvaldas.info | |
Available for use under the MIT License | |
*/ | |
;( function( $, window, document, undefined ) | |
{ | |
var s = document.body || document.documentElement, s = s.style, prefixAnimation = '', prefixTransition = ''; | |
if( s.WebkitAnimation == '' ) prefixAnimation = '-webkit-'; |
body { | |
color: #212121; | |
font-family: "Helvetica Neue", "Calibri Light", Roboto, sans-serif; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
letter-spacing: 0.02em; | |
} |
var scripts = ['app.a700a9a3e91a84de5dc0.js']; // script for all users | |
var newBrowser = ( | |
'fetch' in window && | |
'Promise' in window && | |
'assign' in Object && | |
'keys' in Object | |
); | |
if (!newBrowser) { |
const fileHash = crypto.createHash('md5').update(fileContents).digest('hex'); |
swPrecache.write(path.resolve(__dirname, `../public/service-worker.js`), { | |
cacheId: `know-it-all`, | |
filename: `service-worker.js`, | |
stripPrefix: `public/`, | |
staticFileGlobs: [ | |
`public/app.*.js`, // don't include the polyfills version | |
`public/*.{html,ico,json,png}`, | |
], | |
dontCacheBustUrlsMatching: [ | |
/\.(js|json)$/, // I'm cache busting js and json files myself |
https://kubernetes.io/docs/reference/kubectl/overview/
https://kubernetes.io/docs/reference/kubectl/cheatsheet/
minikube version
minikube start
Now we have kubectl
available
// The same api state machine as before | |
const withApiState = TargetComponent => | |
class extends React.Component { | |
state = { | |
current: "idle" | |
}; | |
apiState = { | |
pending: () => this.setState({ current: "pending" }), | |
success: () => this.setState({ current: "success" }), |