We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
apiVersion: apps/v1 kind: DaemonSet metadata: name: rj-cni-sqlite namespace: kube-system spec: updateStrategy: type: RollingUpdate selector: matchLabels: app: rj-cni-sqlite template: metadata: labels: app: rj-cni-sqlite spec: #nodeSelector: #topology.kubernetes.io/zone: suzhou containers: - name: rj-cni-sqlite image: sdn.harbor.io:28181/bcgtm/cni/rj-cni-sqlite:v1.0 imagePullPolicy: Always # command: ["sh","-c","sqlite_web -H 0.0.0.0 -p 18011 -x /data/log/rj-cni/cni.db"] command: - /bin/sh - -ce - export SQLITE_WEB_PASSWORD="web2lite";sqlite_web -H 0.0.0.0 -p 18012 -x /data/log/rj-cni/cni.db ports: - containerPort: 18012 hostPort: 18012 name: http protocol: TCP volumeMounts: - mountPath: /data/log/rj-cni name: logdir env: - name: SQLITE_WEB_PASSWORD value: "web2lite" hostNetwork: true volumes: - hostPath: path: /data/log/rj-cni type: DirectoryOrCreate name: logdir
The text was updated successfully, but these errors were encountered:
You specify the -P argument:
sqlite_web -P -H 0.0.0.0 -p 18012 -x /data/log/rj-cni/cni.db
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: