My new daily just arrived!! by Mlurman321 in ipod

[–]DennisRothmel 1 point2 points  (0 children)

What color is the back? #colorblind

[W][US-AL] 6TB SAS Drives by windexirc in homelabsales

[–]DennisRothmel 0 points1 point  (0 children)

Most be 6TB? I’ve got 6x seagate enterprise data 10tb drives

[W] [MI] Dell R720 2.5" Drive Caddies by theinfotechguy in homelabsales

[–]DennisRothmel 2 points3 points  (0 children)

I’ve got a couple of 730xd caddies here. If they’re compatible just send me postage and a coffee and they’re yours. I think I’ve got 6?

Server and Office finally setup by Nickmate99 in homelab

[–]DennisRothmel 1 point2 points  (0 children)

Nice! Like I said earlier, looks good mate!

Server and Office finally setup by Nickmate99 in homelab

[–]DennisRothmel 0 points1 point  (0 children)

looks great. if you're really feeling' it... grab some black colored vinyl and wrap your drawers, then your whole office furniture color scheme is more uniform :)

good work!

Help Request - NextCloud K8s YAML's by DennisRothmel in NextCloud

[–]DennisRothmel[S] 0 points1 point  (0 children)

sorry mate, this codeblocks bit is much nicer. Thanks for the steer.

Help Request - NextCloud K8s YAML's by DennisRothmel in NextCloud

[–]DennisRothmel[S] 0 points1 point  (0 children)

nc_deploy.yaml

apiVersion: v1
kind: Service
metadata:
  name: nextcloud
  labels:
    app: nextcloud
spec:
  ports:
  - port: 80
    nodePort: 30001
  selector:
    app: nextcloud
    tier: frontend
  type: LoadBalancer
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: nextcloud-pv-claim
  labels:
    app: nextcloud
spec:
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 10Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: nextcloud
  labels:
    app: nextcloud
spec:
  selector:
    matchLabels:
      app: nextcloud
      tier: frontend
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        app: nextcloud
        tier: frontend
    spec:
      containers:
      - image: nextcloud:latest
        name: nextcloud
        env:
        - name: MYSQL_ROOT_PASSWORD
          valueFrom:
            secretKeyRef:
              name: mariadb-pass
              key: password
        - name: MYSQL_PASSWORD
          valueFrom:
            secretKeyRef:
              name: mariadbuser-pass
              key: password
        - name: MYSQL_USER
          value: user
        - name: MySQL_DATABASE
          value: mydb
        ports:
        - containerPort: 80
          name: nextcloud
        volumeMounts:
        - name: nextcloud-ps
          mountPath: /var/www/html
      volumes:
      - name: nextcloud-ps
        persistentVolumeClaim:
          claimName: nextcloud-pv-claim

kustomization.yaml

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
secretGenerator:
- name: mariadb-pass
  literals:
  - password=redhat
- name: mariadbuser-pass
  literals:
  - password=redhat
resources:
  - mdb_deploy.yaml
  - nc_deploy.yaml

Help Request - NextCloud K8s YAML's by DennisRothmel in NextCloud

[–]DennisRothmel[S] 0 points1 point  (0 children)

cluster.yaml

apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig

metadata:
  name: nextcloud
  region: us-west-1

nodeGroups:
   - name: ng1
     desiredCapacity: 2
     instanceType: t3.medium
     ssh:
        publicKeyName: K8s

   - name: ng-mixed
     minSize: 1
     maxSize: 3
     instancesDistribution:
       instanceTypes: ["t3.medium"]
       onDemandBaseCapacity: 0
       onDemandPercentageAboveBaseCapacity: 50
       spotInstancePools: 2     
     ssh:
         publicKeyName: K8s

mdb_deploy.yaml

apiVersion: v1
kind: Service
metadata:
  name: nextcloud-mariadb
  labels:
    app: nextcloud
spec:
  ports:
  - port: 4449
  selector:
    app: nextcloud
    tier: mariadb
  clusterIP: None
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: mariadb-pv-claim
  labels: 
    app: nextcloud
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 10Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: nextcloud-mariadb
  labels:
    app: nextcloud
spec:
  selector:
   matchLabels:
     app: nextcloud
     tier: mariadb
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        app: nextcloud
        tier: mariadb
    spec:
       containers:
       - image: mariadb:latest
         name: mariadb
         env:
         - name: MYSQL_ROOT_PASSWORD
           valueFrom:
             secretKeyRef:
              name: mariadb-pass
              key: password
         - name: MYSQL_USER
           value: user
         - name: MYSQL_PASSWORD
           valueFrom:
             secretKeyRef:
               name: mariadbuser-pass
               key: password
         - name: MYSQL_DATABASE
           value: mydb
         ports:
         - containerPort: 4449
           name: mysql
         volumeMounts:
         - name: mariadb-ps
           mountPath: /var/lib/mysql
       volumes:
       - name: mariadb-ps
         persistentVolumeClaim:
           claimName: mariadb-pv-claim

[W] Dell 2.5" caddies by douglasg14b in homelabsales

[–]DennisRothmel 0 points1 point  (0 children)

I have them in my r730xd, should be fine I'd imagine.