39 lines
		
	
	
		
			799 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			799 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
kiwix:
 | 
						|
  controllers:
 | 
						|
    main:
 | 
						|
      type: deployment
 | 
						|
      replicas: 1
 | 
						|
      strategy: Recreate
 | 
						|
      revisionHistoryLimit: 3
 | 
						|
      containers:
 | 
						|
        main:
 | 
						|
          image:
 | 
						|
            repository: ghcr.io/kiwix/kiwix-serve
 | 
						|
            tag: 3.7.0
 | 
						|
            pullPolicy: IfNotPresent
 | 
						|
          args:
 | 
						|
            - '*.zim'
 | 
						|
          env:
 | 
						|
            - name: PORT
 | 
						|
              value: 8080
 | 
						|
          resources:
 | 
						|
            requests:
 | 
						|
              cpu: 50m
 | 
						|
              memory: 512Mi
 | 
						|
  service:
 | 
						|
    main:
 | 
						|
      controller: main
 | 
						|
      ports:
 | 
						|
        http:
 | 
						|
          port: 80
 | 
						|
          targetPort: 8080
 | 
						|
          protocol: HTTP
 | 
						|
  persistence:
 | 
						|
    media:
 | 
						|
      existingClaim: kiwix-nfs-storage
 | 
						|
      advancedMounts:
 | 
						|
        main:
 | 
						|
          main:
 | 
						|
            - path: /data
 | 
						|
              readOnly: true
 |