underpost 2.8.78 → 2.8.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ghpkg.yml +23 -21
- package/.github/workflows/npmpkg.yml +16 -11
- package/.github/workflows/pwa-microservices-template.page.yml +12 -3
- package/.github/workflows/pwa-microservices-template.test.yml +20 -17
- package/.vscode/extensions.json +1 -2
- package/.vscode/settings.json +3 -0
- package/Dockerfile +14 -33
- package/README.md +25 -24
- package/bin/db.js +1 -0
- package/bin/deploy.js +91 -796
- package/bin/vs.js +10 -3
- package/cli.md +340 -191
- package/conf.js +4 -0
- package/docker-compose.yml +1 -1
- package/manifests/deployment/dd-template-development/deployment.yaml +167 -0
- package/manifests/deployment/dd-template-development/proxy.yaml +46 -0
- package/manifests/lxd/lxd-admin-profile.yaml +17 -0
- package/manifests/lxd/lxd-preseed.yaml +30 -0
- package/manifests/lxd/underpost-setup.sh +163 -0
- package/manifests/maas/device-scan.sh +43 -0
- package/manifests/maas/lxd-preseed.yaml +32 -0
- package/manifests/maas/maas-setup.sh +120 -0
- package/manifests/maas/nat-iptables.sh +26 -0
- package/manifests/mariadb/statefulset.yaml +2 -1
- package/manifests/mariadb/storage-class.yaml +10 -0
- package/manifests/mongodb-4.4/service-deployment.yaml +2 -2
- package/manifests/valkey/service.yaml +3 -9
- package/manifests/valkey/statefulset.yaml +10 -12
- package/package.json +1 -1
- package/src/cli/baremetal.js +1248 -0
- package/src/cli/cloud-init.js +528 -0
- package/src/cli/cluster.js +459 -232
- package/src/cli/deploy.js +34 -10
- package/src/cli/env.js +2 -2
- package/src/cli/image.js +57 -9
- package/src/cli/index.js +256 -218
- package/src/cli/lxd.js +380 -4
- package/src/index.js +40 -14
- package/src/runtime/lampp/Dockerfile +41 -47
- package/src/server/conf.js +58 -0
- package/src/server/logger.js +3 -3
- package/src/server/runtime.js +1 -6
- package/src/server/ssl.js +1 -12
- package/src/server/valkey.js +3 -3
- package/supervisord-openssh-server.conf +0 -5
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
apiVersion: storage.k8s.io/v1
|
|
2
|
+
kind: StorageClass
|
|
3
|
+
metadata:
|
|
4
|
+
name: mariadb-storage-class # Renamed for clarity
|
|
5
|
+
annotations:
|
|
6
|
+
# Set this to "true" if you want this to be the default StorageClass
|
|
7
|
+
# storageclass.kubernetes.io/is-default-class: "true"
|
|
8
|
+
provisioner: rancher.io/local-path # Ensure this provisioner is installed in your cluster
|
|
9
|
+
reclaimPolicy: Retain # Or Delete, depending on your data retention policy
|
|
10
|
+
volumeBindingMode: WaitForFirstConsumer
|
|
@@ -13,11 +13,11 @@ spec:
|
|
|
13
13
|
labels:
|
|
14
14
|
app: mongodb
|
|
15
15
|
spec:
|
|
16
|
-
hostname:
|
|
16
|
+
hostname: mongodb-service
|
|
17
17
|
containers:
|
|
18
18
|
- name: mongodb
|
|
19
19
|
image: mongo:4.4
|
|
20
|
-
command: [
|
|
20
|
+
command: ["mongod", "--replSet", "rs0", "--bind_ip_all"]
|
|
21
21
|
# -- bash
|
|
22
22
|
# mongo
|
|
23
23
|
# use admin
|
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
---
|
|
2
1
|
apiVersion: v1
|
|
3
2
|
kind: Service
|
|
4
3
|
metadata:
|
|
5
|
-
name: service
|
|
4
|
+
name: valkey-service
|
|
6
5
|
namespace: default
|
|
7
6
|
spec:
|
|
7
|
+
selector:
|
|
8
|
+
app: valkey-service
|
|
8
9
|
ports:
|
|
9
10
|
- port: 6379
|
|
10
11
|
targetPort: 6379
|
|
11
|
-
selector:
|
|
12
|
-
app: service-valkey
|
|
13
|
-
ipFamilyPolicy: PreferDualStack
|
|
14
|
-
ipFamilies:
|
|
15
|
-
- IPv4
|
|
16
|
-
# - IPv6
|
|
17
|
-
type: ClusterIP
|
|
@@ -1,40 +1,38 @@
|
|
|
1
1
|
apiVersion: apps/v1
|
|
2
2
|
kind: StatefulSet
|
|
3
3
|
metadata:
|
|
4
|
-
name: service
|
|
4
|
+
name: valkey-service
|
|
5
5
|
namespace: default
|
|
6
6
|
spec:
|
|
7
|
-
serviceName: service
|
|
7
|
+
serviceName: valkey-service
|
|
8
8
|
replicas: 1
|
|
9
9
|
selector:
|
|
10
10
|
matchLabels:
|
|
11
|
-
app: service
|
|
11
|
+
app: valkey-service
|
|
12
12
|
template:
|
|
13
13
|
metadata:
|
|
14
14
|
labels:
|
|
15
|
-
app: service
|
|
15
|
+
app: valkey-service
|
|
16
16
|
spec:
|
|
17
|
-
# Prevent automatic token mounting if you're not using the default ServiceAccount
|
|
18
17
|
automountServiceAccountToken: false
|
|
19
|
-
|
|
20
18
|
containers:
|
|
21
|
-
- name: service
|
|
19
|
+
- name: valkey-service
|
|
22
20
|
image: docker.io/valkey/valkey:latest
|
|
23
21
|
imagePullPolicy: IfNotPresent
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
value: Europe/Zurich
|
|
22
|
+
command: ["valkey-server"]
|
|
23
|
+
args: ["--port", "6379"]
|
|
27
24
|
ports:
|
|
28
25
|
- containerPort: 6379
|
|
29
26
|
startupProbe:
|
|
30
27
|
tcpSocket:
|
|
31
28
|
port: 6379
|
|
32
|
-
failureThreshold: 30
|
|
33
29
|
periodSeconds: 5
|
|
34
30
|
timeoutSeconds: 5
|
|
31
|
+
failureThreshold: 30
|
|
35
32
|
livenessProbe:
|
|
36
33
|
tcpSocket:
|
|
37
34
|
port: 6379
|
|
38
|
-
|
|
35
|
+
initialDelaySeconds: 10
|
|
39
36
|
periodSeconds: 30
|
|
40
37
|
timeoutSeconds: 5
|
|
38
|
+
failureThreshold: 2
|
package/package.json
CHANGED