Skip to content

Instantly share code, notes, and snippets.

View nutterbrand's full-sized avatar

Brandon Nutter nutterbrand

View GitHub Profile
Set up the control plane.
a. Make sure the cluster will support Linkerd with linkerd check --pre.
b. Install the control plane with linkerd install | kubectl apply -f -. (The kubectl apply can be omitted if you want to see what linkerd is doing. Add --ha in prod.)
c. Verify the control plane is working with linkerd check
d. Install the viz extension with linkerd viz install | kubectl apply -f -
FYI, kubernetes/prod/templates/00-namespace.yaml:
# Namespace for production Kubernetes objects.
#
# While not strictly necessary, it provides an extra level of clarity that we
# are explicitly and intentionally working with objects in production.
apiVersion: v1
kind: Namespace
metadata:
name: prod
.flex-container {
display: flex;
}
.flex-child {
flex: 1;
}
/* modal part */
#modal-background {
/* display: none;*/
<div id="modal-background">
<div id="modal">
<span id="close-btn">&times;</span>
<div id="logo-container-1">
<img src="https://pay-it-forward.s3.us-east-2.amazonaws.com/PIF-logo-blue-1024.png" />
</div>
<div id="logo-container-2">
<div class="stamp">
<div id="stamp-bg">
<img src="https://pay-it-forward.s3.us-east-2.amazonaws.com/ampd.jpg" id="company-logo" />
.flex-container {
display: flex;
}
.flex-child {
flex: 1;
}
/* modal part */
#modal-background {
/* display: none;*/
<div id="modal-background">
<div id="modal">
<span id="close-btn">&times;</span>
<div id="logo-container">
<div class="stamp">
<div id="stamp-bg">
<img src="https://pay-it-forward.s3.us-east-2.amazonaws.com/ampd.jpg" id="company-logo" />
</div>
</div>
<span id="x">&times;</span><img src="https://pay-it-forward.s3.us-east-2.amazonaws.com/PIF-logo-blue-1024.png" id="main-image-pay-forward" />
.flex-container {
display: flex;
}
.flex-child {
flex: 1;
border: 2px;
}
.flex-child:first-child {
.flex-container {
display: flex;
}
.flex-child {
flex: 1;
border: 2px;
}
.flex-child:first-child {
.flex-container {
display: flex;
}
.flex-child {
flex: 1;
border: 2px;
}
.flex-child:first-child {
<!-- Modal Open Button -->
<button id="open-btn">
OPEN THE MODAL
</button>
<!-- Modal Background and Modal -->
<div id="modal-background">
<div id="modal">
<span id="close-btn">&times;</span>
<center><img id="main-image-pay-forward" src="https://pay-it-forward.s3.us-east-2.amazonaws.com/Pay-It-Forward-Modal.png" width="175px" style="text-align: center; padding-bottom: 10px; display: visible;"/></center>