Last active
August 21, 2023 17:05
-
-
Save onpaws/eab481b9c237f19db2330d14682a8025 to your computer and use it in GitHub Desktop.
DDorgan -> Bump Parity to v2.5.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
namespace: default | |
name: pv-default-100g-disk01 | |
annotations: | |
volume.beta.kubernetes.io/storage-class: default | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: | |
storage: 100Gi | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: parity-service | |
namespace: default | |
spec: | |
selector: | |
app: parity | |
ports: | |
- name: eth-net | |
port: 30303 | |
protocol: TCP | |
--- | |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: parity-config | |
namespace: default | |
data: | |
parity.toml: | | |
[parity] | |
mode = "dark" | |
base_path = "/data" | |
[footprint] | |
db_compaction = "hdd" | |
pruning_memory = 128 | |
tracing = "off" | |
--- | |
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: parity | |
namespace: default | |
labels: | |
app: parity | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: parity | |
template: | |
metadata: | |
labels: | |
app: parity | |
name: parity | |
spec: | |
terminationGracePeriodSeconds: 20 | |
containers: | |
- image: parity/parity:v2.5.0 | |
name: parity | |
imagePullPolicy: IfNotPresent | |
args: ["--config=/config/parity.toml"] | |
volumeMounts: | |
- name: parity-config | |
mountPath: /config | |
- name: pv | |
mountPath: /data | |
volumes: | |
- name: parity-config | |
configMap: | |
name: parity-config | |
- name: pv | |
persistentVolumeClaim: | |
claimName: pv-default-100g-disk01 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment