This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: RoleBinding | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
metadata: | |
name: developer-role-binding | |
namespace: development | |
subjects: | |
- kind: User | |
name: vikki-user-1 | |
apiGroup: "" | |
roleRef: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: Role | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
metadata: | |
namespace: development | |
name: developer | |
rules: | |
- apiGroups: ["", "extensions", "apps"] | |
resources: ["deployments", "replicasets", "pods"] | |
verbs: ["list", "get", "watch", "create", "update", "patch", "delete"] | |
# You can use ["*"] for all verbs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
api: | |
advertiseAddress: 10.0.2.15 | |
bindPort: 6443 | |
controlPlaneEndpoint: "" | |
apiVersion: kubeadm.k8s.io/v1alpha2 | |
auditPolicy: | |
logDir: /var/log/kubernetes/audit | |
logMaxAge: 2 | |
path: "" | |
bootstrapTokens: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: "testing.vikki.in/v1" | |
# This is from the group and version of new CRD | |
kind: CronTab | |
# The kind from the new CRD | |
metadata: | |
name: new-cron-object | |
spec: | |
cronSpec: "*/5 * * * *" | |
image: some-cron-image | |
#Does not exist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apiextensions.k8s.io/v1beta1 | |
kind: CustomResourceDefinition | |
metadata: | |
name: crontabs.testing.vikki.in | |
# This name must match names below. | |
# <plural>.<group> syntax | |
spec: | |
scope: Cluster #Could also be Namespaced | |
group: testing.vikki.in | |
version: v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1beta1 | |
kind: Deployment | |
metadata: | |
name: taint-deployment | |
spec: | |
replicas: 4 | |
template: | |
metadata: | |
labels: | |
app: nginx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: vip | |
spec: | |
containers: | |
- name: vip1 | |
image: busybox | |
args: | |
- sleep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: vip | |
spec: | |
containers: | |
- name: vip1 | |
image: busybox | |
args: | |
- sleep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: vip | |
spec: | |
containers: | |
- name: vip1 | |
image: busybox | |
args: | |
- sleep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: PersistentVolume | |
metadata: | |
name: pvvol-1-vikki | |
spec: | |
capacity: | |
storage: 1Gi | |
accessModes: | |
- ReadWriteMany | |
persistentVolumeReclaimPolicy: Recycle |