-
-
Notifications
You must be signed in to change notification settings - Fork 8
chore: check web domain #428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
14dc56f
1192b5f
1d2a406
a2e7050
405ec3e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,8 +4,8 @@ metadata: | |
| name: api | ||
| namespace: 5stack | ||
| annotations: | ||
| nginx.ingress.kubernetes.io/proxy-body-size: "4G" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no , for demos. needs to be bigger
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reverted to 4G in 1d2a406. |
||
| nginx.ingress.kubernetes.io/client-max-body-size: "4G" | ||
| nginx.ingress.kubernetes.io/proxy-body-size: "500M" | ||
| nginx.ingress.kubernetes.io/client-max-body-size: "500M" | ||
| spec: | ||
| ingressClassName: nginx | ||
| rules: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,10 @@ metadata: | |
| name: game-server-node-connector | ||
| namespace: 5stack | ||
| spec: | ||
| updateStrategy: | ||
|
lukepolo marked this conversation as resolved.
|
||
| type: RollingUpdate | ||
| rollingUpdate: | ||
| maxUnavailable: 1 | ||
| selector: | ||
| matchLabels: | ||
| app: game-server-node-connector | ||
|
|
@@ -14,6 +18,7 @@ spec: | |
| labels: | ||
| app: game-server-node-connector | ||
| spec: | ||
| terminationGracePeriodSeconds: 30 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these are defaults already on the cluster |
||
| dnsConfig: | ||
| options: | ||
| - name: ndots | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,6 +20,7 @@ spec: | |
| labels: | ||
| app: hasura | ||
| spec: | ||
| terminationGracePeriodSeconds: 30 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these are defaults already on the cluster |
||
| dnsConfig: | ||
| options: | ||
| - name: ndots | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,9 +5,9 @@ metadata: | |
| namespace: 5stack | ||
| data: | ||
| redis.conf: | | ||
| # Persistence strategy: hybrid RDB snapshots + AOF for durability. | ||
| # RDB provides point-in-time snapshots; AOF provides write-level durability. | ||
| tcp-keepalive 240 | ||
| appendonly no | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these are required for queues
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Restored |
||
| save "" | ||
| maxmemory-policy noeviction | ||
| user default on >${REDIS_PASSWORD} allcommands allkeys +@all &* | ||
| io-threads-do-reads yes | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| #!/bin/bash | ||
| set -euo pipefail | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. while testing this seems to break things
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed |
||
|
|
||
| source setup-env.sh "$@" | ||
| check_sudo | ||
|
|
@@ -17,7 +18,10 @@ mkdir -p /opt/5stack/custom-plugins | |
| echo "Environment files setup complete" | ||
|
|
||
| echo "Installing K3s" | ||
| curl -sfL https://get.k3s.io | sh -s - --disable=traefik | ||
| if ! curl -sfL https://get.k3s.io | sh -s - --disable=traefik; then | ||
| echo "ERROR: K3s installation failed" | ||
| exit 1 | ||
| fi | ||
|
|
||
| cat <<-'SCRIPT' >/usr/local/bin/5stack-cpu-state-check.sh | ||
| #!/bin/bash | ||
|
|
@@ -46,7 +50,12 @@ systemctl daemon-reload | |
| echo "Installing Ingress Nginx, this may take a few minutes..." | ||
| install_ingress_nginx true | ||
|
|
||
| kubectl label node $(kubectl get nodes -o jsonpath='{.items[0].metadata.name}') 5stack-api=true 5stack-hasura=true 5stack-minio=true 5stack-timescaledb=true 5stack-redis=true 5stack-typesense=true 5stack-web=true | ||
| NODE_NAME=$(kubectl get nodes -o jsonpath='{.items[0].metadata.name}') | ||
| if [ -z "$NODE_NAME" ]; then | ||
| echo "ERROR: Could not determine node name" | ||
| exit 1 | ||
| fi | ||
| kubectl label node "$NODE_NAME" 5stack-api=true 5stack-hasura=true 5stack-minio=true 5stack-timescaledb=true 5stack-redis=true 5stack-typesense=true 5stack-web=true | ||
|
|
||
| source update.sh "$@" | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these are defaults already on the cluster