Last active
January 17, 2020 02:04
-
-
Save udienz/1921fe58ed5482c676c4b115b092f6da to your computer and use it in GitHub Desktop.
Cacti running on kubernetes.
This file contains hidden or 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/v1 | |
kind: Deployment | |
metadata: | |
labels: | |
cattle.io/creator: norman | |
workload.user.cattle.io/workloadselector: deployment-cacti-cacti | |
name: cacti | |
namespace: cacti | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
workload.user.cattle.io/workloadselector: deployment-cacti-cacti | |
strategy: | |
rollingUpdate: | |
maxSurge: 1 | |
maxUnavailable: 0 | |
type: RollingUpdate | |
template: | |
metadata: | |
annotations: | |
creationTimestamp: null | |
labels: | |
workload.user.cattle.io/workloadselector: deployment-cacti-cacti | |
spec: | |
containers: | |
- image: udienz/cacti | |
imagePullPolicy: Always | |
name: cacti | |
volumeMounts: | |
- mountPath: /usr/local/spine/etc/spine.conf | |
name: cacti-0-spine-conf | |
subPath: spine.conf | |
- mountPath: /var/www/html/include/config.php | |
name: cacti-0-conf | |
subPath: config.php | |
- mountPath: /var/www/html/rra | |
name: cephfs-disk | |
subPath: cacti-root/rra | |
- mountPath: /var/www/html/log | |
name: cephfs-disk | |
subPath: cacti-root/log | |
- mountPath: /var/www/html/cacti/resource | |
name: cephfs-disk | |
subPath: cacti-root/resource | |
- mountPath: /var/www/html/cacti/scripts | |
name: cephfs-disk | |
subPath: cacti-root/resource | |
- mountPath: /var/www/html/cacti/plugins | |
name: cephfs-disk | |
subPath: cacti-root/plugins | |
dnsPolicy: ClusterFirst | |
restartPolicy: Always | |
volumes: | |
- configMap: | |
defaultMode: 420 | |
name: cacti-0-spine-conf | |
optional: false | |
name: cacti-0-spine-conf | |
- configMap: | |
defaultMode: 420 | |
name: cacti-0-conf | |
optional: false | |
name: cacti-0-conf | |
- cephfs: | |
monitors: | |
- 100.120.0.11 | |
- 100.120.0.12 | |
- 100.120.0.13 | |
path: /rancher | |
secretFile: /etc/ceph/keyring | |
secretRef: | |
name: ceph-mahyuddin-secret | |
user: mahyuddin | |
name: cephfs-disk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment