Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Cache Issue with Wiki.js multiple instances in Kubernetes #2668

Closed
akhilbh92 opened this issue Nov 5, 2020 · 0 comments
Closed

Cache Issue with Wiki.js multiple instances in Kubernetes #2668

akhilbh92 opened this issue Nov 5, 2020 · 0 comments

Comments

@akhilbh92
Copy link

akhilbh92 commented Nov 5, 2020

Question

Describe in details what you are trying to achieve and where do you need guidance.
I used the latest stable release of wikijs docker image and passed the HA_ACTIVE as true while deploying the wiki.js in om-prem k8 cluster. I started with one replica.Then after initial application setup. Scaled it to 2 replicas. But, still I can face the cache issue.

Please let me know what is wrong in my setup? If not, is there a way to disable cache permanently in the wikijs setup?

Host Info (please complete the following information):
OS: [e.g. Ubuntu 18.04.1, Docker 19.03.6]
Wiki.js version: 2.5.170
Remote Database: [e.g. postgres 11.9.0]

ConfigMap File:

apiVersion: v1
data:
DB_HOST: <MY_DB_HOST>
DB_PORT: "5432"
DB_USER: "postgres"
DB_TYPE: "postgres"
DB_NAME: "wiki"
HA_ACTIVE: "true"
kind: ConfigMap
metadata:
name: postgres-sbx-config

Deployment file:

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: wikijs
name: wikijs
spec:
replicas: 1
selector:
matchLabels:
app: wikijs
template:
metadata:
labels:
app: wikijs
spec:
containers:
- name: wikijs
image: requarks/wiki:2.5
env:
- name: HA_ACTIVE
valueFrom:
configMapKeyRef:
key: HA_ACTIVE
name: postgres-sbx-config
- name: DB_HOST
valueFrom:
configMapKeyRef:
key: DB_HOST
name: postgres-sbx-config
- name: DB_PORT
valueFrom:
configMapKeyRef:
key: DB_PORT
name: postgres-sbx-config
- name: DB_USER
valueFrom:
configMapKeyRef:
key: DB_USER
name: postgres-sbx-config
- name: DB_TYPE
valueFrom:
configMapKeyRef:
key: DB_TYPE
name: postgres-sbx-config
- name: DB_NAME
valueFrom:
configMapKeyRef:
key: DB_NAME
name: postgres-sbx-config
- name: DB_PASS
valueFrom:
secretKeyRef:
name: postgres-sbx
key: password
ports:
- containerPort: 3000
protocol: TCP

@akhilbh92 akhilbh92 added the help label Nov 5, 2020
@NGPixel NGPixel closed this as completed Mar 21, 2021
@requarks requarks locked and limited conversation to collaborators Mar 21, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants