Browse Source

Limpiando

Celestino Rey 3 months ago
parent
commit
594f9367df

+ 0 - 9
Cifs/crey@k8s-currante-01

@@ -1,9 +0,0 @@
-sudo apt install cifs-utils
-sudo apt install jq
-
-VOLUME_PLUGIN_DIR="/usr/libexec/kubernetes/kubelet-plugins/volume/exec"
-mkdir -p "$VOLUME_PLUGIN_DIR/fstab~cifs"
-cd "$VOLUME_PLUGIN_DIR/fstab~cifs"
-curl -L -O https://raw.githubusercontent.com/fstab/cifs/master/cifs
-chmod 755 cifs
-

+ 0 - 9
Cifs/crey@k8s-currante-02

@@ -1,9 +0,0 @@
-sudo apt install cifs-utils
-sudo apt install jq
-
-VOLUME_PLUGIN_DIR="/usr/libexec/kubernetes/kubelet-plugins/volume/exec"
-mkdir -p "$VOLUME_PLUGIN_DIR/fstab~cifs"
-cd "$VOLUME_PLUGIN_DIR/fstab~cifs"
-curl -L -O https://raw.githubusercontent.com/fstab/cifs/master/cifs
-chmod 755 cifs
-

+ 0 - 1
Cifs/entra.sh

@@ -1 +0,0 @@
-kubectl exec -ti busybox -- /bin/sh

+ 0 - 9
Cifs/instalaCifs

@@ -1,9 +0,0 @@
-sudo apt install cifs-utils
-sudo apt install jq
-
-VOLUME_PLUGIN_DIR="/usr/libexec/kubernetes/kubelet-plugins/volume/exec"
-mkdir -p "$VOLUME_PLUGIN_DIR/fstab~cifs"
-cd "$VOLUME_PLUGIN_DIR/fstab~cifs"
-curl -L -O https://raw.githubusercontent.com/fstab/cifs/master/cifs
-chmod 755 cifs
-

+ 0 - 26
Cifs/pod.yaml

@@ -1,26 +0,0 @@
-apiVersion: v1
-kind: Pod
-metadata:
-  name: busybox
-  namespace: default
-spec:
-  containers:
-  - name: busybox
-    image: busybox
-    command:
-      - sleep
-      - "3600"
-    imagePullPolicy: IfNotPresent
-    volumeMounts:
-    - name: test
-      mountPath: /data
-  volumes:
-  - name: test
-    flexVolume:
-      driver: "fstab/cifs"
-      fsType: "cifs"
-      secretRef:
-        name: "cifs-secret"
-      options:
-        networkPath: "//192.168.1.34/Tino"
-        mountOptions: "dir_mode=0777,vers=1.0,file_mode=0666,noperm"

+ 0 - 9
Cifs/secret.yaml

@@ -1,9 +0,0 @@
-apiVersion: v1
-kind: Secret
-metadata:
-  name: cifs-secret
-  namespace: default
-type: fstab/cifs
-data:
-  username: 'VGlubw=='
-  password: 'UmV5MTE3Ng=='

+ 0 - 60
Documentacion/nginx-services.md

@@ -1,60 +0,0 @@
-# NGINX Configured Services
-
-This document lists all services configured in `/etc/nginx/sites-enabled` with their server names and target IP addresses/ports, grouped by host name.
-
-## Host: vmcluster.reymota.lab
-
-| Service Name | Server Name | IP:Port | Port Type |
-|--------------|-------------|---------|-----------|
-| academia_com | academia.neuroreevolution.com | 192.168.1.158 | LoadBalancer |
-| academia_es | academia.neuroreevolution.es | 192.168.1.116:30089 | NodePort |
-| forgejo_reymota_es | forgejo.reymota.es | 192.168.1.116:30785 | NodePort |
-| harbor | harbor.reymota.es | 192.168.1.116:30002 | NodePort |
-| jenkins_reymota_es | jenkins.reymota.es | 192.168.1.116:32000 | NodePort |
-| jugaralpadel-es | jugaralpadel.es | 192.168.1.156 | LoadBalancer |
-| myadmin | myadmin.reymota.es | 192.168.1.116:30087 | NodePort |
-| nradmin | nradmin.reymota.es | 192.168.1.116:30185 | NodePort |
-| pgadmin_ser7 | pgadmin.reymota.es | 192.168.1.155 | LoadBalancer |
-| reevolution-com | neuroreevolution.com | 192.168.1.116:30091 | NodePort |
-| reevolution | neuroreevolution.es | 192.168.1.116:30090 | NodePort |
-| reymota | reymota.es | 192.168.1.157 | LoadBalancer |
-| wwwreevolution-com | www.neuroreevolution.com | 192.168.1.116:30091 | NodePort |
-| wwwreevolution | www.neuroreevolution.es | 192.168.1.116:30090 | NodePort |
-| finanzas_reymota_es | finanzas.reymota.es | 192.168.1.154 | LoadBalancer |
-
-## Host: ser7.reymota.lab
-
-| Service Name | Server Name | IP:Port | Port Type |
-|--------------|-------------|---------|-----------|
-| acciones | acciones.reymota.es | 192.168.1.129:30082 | NodePort |
-| jalp_reymota_es | jalp.reymota.es | 192.168.1.203 | LoadBalancer |
-| nuevo-nr | nuevo.neuroreevolution.com | 192.168.1.129:30153 | NodePort |
-
-## Host: k8s-server.reymota.lab
-
-| Service Name | Server Name | IP:Port | Port Type |
-|--------------|-------------|---------|-----------|
-| calibre | calibre.reymota.es | 192.168.1.147:30830 | NodePort |
-| ftest_reymota_es | ftest.reymota.es | 192.168.1.147:30348 | NodePort |
-| gitea | gitea.reymota.es | 192.168.1.147:30780 | NodePort |
-| navidrome | navidrome.reymota.es | 192.168.1.147:30681 | NodePort |
-| nextcloud | nextcloud.reymota.es | 192.168.1.147:30580 | NodePort |
-| recetas_reymota_es | recetas.reymota.es | 192.168.1.147:30825 | NodePort |
-| registry | registry.reymota.es | 192.168.1.147:30342 | NodePort |
-| vaultwarden | vaultwarden.reymota.es | 192.168.1.147:31078 | NodePort |
-| wordpress | wordpress.reymota.es | 192.168.1.147:30088 | NodePort |
-
-## Host: raspberrypi.reymota.lab
-
-| Service Name | Server Name | IP:Port | Port Type |
-|--------------|-------------|---------|-----------|
-| ovn_reymota_es | ovn.reymota.es | 192.168.1.210 | Local |
-
-## Host: N/A
-
-| Service Name | Server Name | IP:Port | Port Type |
-|--------------|-------------|---------|-----------|
-| default | _ |  | Local |
-
----
-*Generated from /etc/nginx/sites-enabled configuration files (excluding commented lines)*

+ 0 - 74
Oracle/oracle-deployment.html

@@ -1,74 +0,0 @@
-apiVersion: v1
-kind: Service
-metadata:
-  name: oracle-service
-  namespace: oracle
-  labels:
-    app: oracle
-spec:
-  type: NodePort
-  ports:
-    - name: oracle
-      port: 1521
-      nodePort: 30521
-      targetPort: oracle
-  selector:
-    app: oracle
-    tier: oracle
----
-apiVersion: v1
-kind: PersistentVolumeClaim
-metadata:
-  name: oracle-pv-claim
-  namespace: oracle
-  labels:
-    app: oracle
-spec:
-  accessModes:
-    - ReadWriteOnce
-  resources:
-    requests:
-      storage: 25Gi
-  selector:
-    matchLabels:
-      app: oracle
----
-apiVersion: apps/v1
-kind: Deployment
-metadata:
-  name: oracle
-  namespace: oracle
-  labels:
-    app: oracle
-spec:
-  selector:
-    matchLabels:
-      app: oracle
-      tier: oracle
-  strategy:
-    type: Recreate
-  template:
-    metadata:
-      labels:
-        app: oracle
-        tier: oracle
-    spec:
-      containers:
-      - image: container-registry.oracle.com/database/free:latest
-        name: oracle
-        env:
-        - name: ORACLE_PWD
-          valueFrom:
-            secretKeyRef:
-              name: oracle-pass
-              key: password
-        ports:
-        - containerPort: 1521
-          name: oracle
-        volumeMounts:
-        - name: oracle-persistent-storage
-          mountPath: /opt/oracle
-      volumes:
-      - name: oracle-persistent-storage
-        persistentVolumeClaim:
-          claimName: oracle-pv-claim

+ 0 - 10
Oracle/oracle-secrets.yaml

@@ -1,10 +0,0 @@
-apiVersion: v1
-kind: Secret
-metadata:
-  name: oracle-pass
-  namespace: oracle
-type: Opaque 
-stringData: 
-  db_password: Dsa-0213
-  password: Dsa-0213
-  db_user: root

+ 0 - 13
Oracle/pv-local-oracle.yaml

@@ -1,13 +0,0 @@
-apiVersion: v1
-kind: PersistentVolume
-metadata:
-  name: oracle-data
-  labels:
-    app: oracle
-spec:
-  capacity:
-    storage: 25Gi
-  accessModes:
-    - ReadWriteOnce
-  hostPath:
-    path: "/mnt/Externo/oracle"