Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Bryan Liles bryanl

🏠
Working from home
View GitHub Profile
@bryanl
bryanl / cert-manager.yaml
Created Aug 30, 2020
cert-manager manifest
View cert-manager.yaml
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
View gist:1168b13b698b460c9d3d4ee0520cda53
# 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,
View cluster-template-dev.yaml
---
apiVersion: cluster.x-k8s.io/v1alpha3
kind: Cluster
metadata:
name: '${ CLUSTER_NAME }'
namespace: '${ NAMESPACE }'
spec:
clusterNetwork:
pods:
cidrBlocks:
View gist:8e0b16bfddc3111248bf3ea8f8bdbd39
apiVersion: run.tanzu.vmware.com/v1alpha1
kind: TanzuKubernetesCluster
metadata:
name: ${CLUSTER_NAME}
namespace: ${NAMESPACE}
spec:
distribution:
version: ${KUBERNETES_VERSION}
settings:
network:
View manifest.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: greeter
spec:
selector:
matchLabels:
app.kubernetes.io/name: greeter
replicas: 1
template:
View manifest.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-nginx
spec:
selector:
matchLabels:
run: my-nginx
replicas: 2
template:
View plugin-next.s
export default class MyPlugin implements octant.Plugin {
printer = printHandler
}
View octant.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View nginx.yaml
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:
View knative-serving.yaml
# 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,
You can’t perform that action at this time.