Skip to content

Instantly share code, notes, and snippets.

View bryanl's full-sized avatar
🚩
Out in the streets

Bryan Liles bryanl

🚩
Out in the streets
View GitHub Profile
package main
import (
"bufio"
"fmt"
"io"
"log"
"os"
"github.com/davecgh/go-spew/spew"
@bryanl
bryanl / cert-manager.yaml
Created August 30, 2020 10:45
cert-manager manifest
This file has been truncated, but you can view the full file.
# Copyright YEAR The Jetstack cert-manager contributors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# Copyright 2018 The Knative Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
---
apiVersion: cluster.x-k8s.io/v1alpha3
kind: Cluster
metadata:
name: '${ CLUSTER_NAME }'
namespace: '${ NAMESPACE }'
spec:
clusterNetwork:
pods:
cidrBlocks:
apiVersion: run.tanzu.vmware.com/v1alpha1
kind: TanzuKubernetesCluster
metadata:
name: ${CLUSTER_NAME}
namespace: ${NAMESPACE}
spec:
distribution:
version: ${KUBERNETES_VERSION}
settings:
network:
apiVersion: apps/v1
kind: Deployment
metadata:
name: greeter
spec:
selector:
matchLabels:
app.kubernetes.io/name: greeter
replicas: 1
template:
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-nginx
spec:
selector:
matchLabels:
run: my-nginx
replicas: 2
template:
export default class MyPlugin implements octant.Plugin {
printer = printHandler
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
name: nginx-deployment
spec:
selector:
matchLabels:
app: nginx
replicas: 2 # tells deployment to run 2 pods matching the template
template: