Last active
December 18, 2020 16:48
-
-
Save tbaums/77abaefa2b01548405378ac54555b853 to your computer and use it in GitHub Desktop.
Cassandra Migration Demo Setup
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
# This file is part of Rok. | |
# | |
# Copyright © 2020 Arrikto Inc. All Rights Reserved. | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: rok-user-cluster-admin | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: ClusterRole | |
name: cluster-admin | |
subjects: | |
- apiGroup: rbac.authorization.k8s.io | |
kind: User | |
name: user | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
labels: | |
app: cassandra | |
name: cassandra | |
spec: | |
clusterIP: None | |
ports: | |
- port: 9042 | |
selector: | |
app: cassandra | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: cstar | |
namespace: default | |
labels: | |
app: cstar | |
spec: | |
progressDeadlineSeconds: 600 | |
replicas: 1 | |
revisionHistoryLimit: 10 | |
selector: | |
matchLabels: | |
app: cstar | |
template: | |
metadata: | |
creationTimestamp: null | |
labels: | |
app: cstar | |
spec: | |
containers: | |
- image: tbaums/cstar-client | |
name: cstar-client | |
args: | |
- sleep | |
- "50000" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment