Skip to content

Instantly share code, notes, and snippets.

View migmartri's full-sized avatar

Miguel Martinez Trivino migmartri

View GitHub Profile
AKS_RESOURCE_GROUP=stacksmith-demo
AKS_CLUSTER_NAME=stacksmith-demo
ACR_RESOURCE_GROUP=bitnami-ss-builds
ACR_NAME=bitnamissbuilds
# Set context locally
# az aks get-credentials --resource-group ${AKS_RESOURCE_GROUP} --name ${AKS_CLUSTER_NAME}
# Get the id of the service principal configured for AKS
CLIENT_ID=$(az aks show --resource-group $AKS_RESOURCE_GROUP --name $AKS_CLUSTER_NAME --query "servicePrincipalProfile.clientId" --output tsv)
### Check services
for SERVICES in etcd flanneld kube-apiserver kube-controller-manager kube-scheduler;
do echo --- $SERVICES --- ; systemctl is-active $SERVICES ;
systemctl is-enabled $SERVICES ; echo ""; done
for SERVICES in flanneld docker kube-proxy.service kubelet.service; \
do echo --- $SERVICES --- ; systemctl is-active $SERVICES ; \
systemctl is-enabled $SERVICES ; echo ""; done
@migmartri
migmartri / keybase.md
Last active September 29, 2017 04:18

Keybase proof

I hereby claim:

  • I am migmartri on github.
  • I am migmartri (https://keybase.io/migmartri) on keybase.
  • I have a public key ASAHTHAlPf8oKcUuESG9K8nEoOe_jIL01I9dkaFuBxcAEQo

To claim this, I am signing this object:

<p id="notice"><%= notice %></p>
<h1>Posts</h1>
<% @posts.each do |post| %>
<div class="demo-card-wide mdl-card mdl-shadow--2dp">
<div class="mdl-card__title">
<h2 class="mdl-card__title-text"><%= post.title %></h2>
</div>
<div class="mdl-card__supporting-text">
<%= post.content %>
//= require material
body {
background-color: #FAFAFA;
padding: 20px;
.demo-card-wide {
width: 80%;
margin: 10px auto;
}
.clearfix {
ssh-keygen -f id_rsa -p