File tree Expand file tree Collapse file tree 3 files changed +10
-22
lines changed
containers/srv/uyuni-container Expand file tree Collapse file tree 3 files changed +10
-22
lines changed Original file line number Diff line number Diff line change 2
2
3
3
export LC_ALL=en_US.UTF-8
4
4
5
- # chown postgres:postgres /var/lib/pgsql
6
- # chown root:salt /etc/salt
7
-
8
5
su postgres -c ' pg_ctl start -D /var/lib/pgsql/data -l /tmp/log & >/dev/null 2>&1' && \
9
6
# && wait for postgres to start before calling migration
10
7
/usr/lib/susemanager/bin/migration.sh -l /var/log/susemanager_setup.log -s
11
8
/usr/bin/salt-secrets-config.py &
12
- # mv /tmp/server.xml /etc/tomcat/server.xml
9
+
13
10
su - tomcat -c ' /usr/lib/tomcat/server start &'
14
11
/usr/sbin/taskomatic & > /dev/null 2>&1
15
12
/usr/sbin/start_apache2 -k start > /dev/null 2>&1
Original file line number Diff line number Diff line change @@ -23,5 +23,8 @@ k3s ctr image import uyuni.tar
23
23
- Test cluster and app
24
24
curl -X GET http://YOUR_IP
25
25
26
- ## troubleshooting
26
+ ##remote
27
+ ` k3s kubectl delete namespace uyuni `
28
+
29
+ ## troubleshooting
27
30
https://kubernetes.io/docs/tasks/debug-application-cluster/debug-running-pod/
Original file line number Diff line number Diff line change @@ -22,13 +22,10 @@ spec:
22
22
memory : " 64Mi"
23
23
cpu : " 100m"
24
24
limits :
25
- memory : " 128Mi "
26
- cpu : " 500m "
25
+ memory : " 2048Mi "
26
+ cpu : " 300m "
27
27
ports :
28
- - containerPort : 80
29
28
- containerPort : 443
30
- - containerPort : 4505
31
- - containerPort : 4506
32
29
imagePullPolicy : Never
33
30
---
34
31
apiVersion : v1
@@ -38,18 +35,9 @@ metadata:
38
35
namespace : uyuni
39
36
spec :
40
37
ports :
41
- - port : 80
42
- targetPort : 80
43
- name : http
44
- - port : 443
38
+ - protocol : " TCP"
39
+ port : 443
45
40
targetPort : 443
46
- name : https
47
- - port : 4505
48
- targetPort : 4505
49
- name : salt1
50
- - port : 4506
51
- targetPort : 4506
52
- name : salt2
53
41
54
42
selector :
55
43
app : uyuni
65
53
rules :
66
54
- http :
67
55
paths :
68
- - path : /
56
+ - path : /rhn/*
69
57
backend :
70
58
serviceName : uyuni-service
71
59
servicePort : 443
You can’t perform that action at this time.
0 commit comments