Permalink
Cannot retrieve contributors at this time
Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up
Fetching contributors…
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: cockroachdb-client-secure | |
| labels: | |
| app: cockroachdb-client | |
| spec: | |
| serviceAccountName: cockroachdb | |
| containers: | |
| - name: cockroachdb-client | |
| image: cockroachdb/cockroach:v2.0.3 | |
| imagePullPolicy: IfNotPresent | |
| volumeMounts: | |
| - name: client-certs | |
| mountPath: /cockroach-certs | |
| # Keep a pod open indefinitely so kubectl exec can be used to get a shell to it | |
| # and run cockroach client commands, such as cockroach sql, cockroach node status, etc. | |
| command: | |
| - sleep | |
| - "2147483648" # 2^31 | |
| # This pod isn't doing anything important, so don't bother waiting to terminate it. | |
| terminationGracePeriodSeconds: 0 | |
| volumes: | |
| - name: client-certs | |
| secret: | |
| secretName: cockroachdb.client.root | |
| defaultMode: 256 |