@@ -32,10 +32,19 @@ spec:
32
32
metadata :
33
33
type : object
34
34
spec :
35
+ description : IpfsClusterSpec defines the desired state of the IpfsCluster.
35
36
properties :
36
37
clusterStorage :
37
- type : string
38
+ anyOf :
39
+ - type : integer
40
+ - type : string
41
+ description : clusterStorage defines the amount of storage to be used
42
+ by IPFS Cluster.
43
+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
44
+ x-kubernetes-int-or-string : true
38
45
follows :
46
+ description : follows defines the list of other IPFS Clusters this
47
+ one should follow.
39
48
items :
40
49
properties :
41
50
name :
@@ -47,13 +56,45 @@ spec:
47
56
- template
48
57
type : object
49
58
type : array
59
+ ipfsResources :
60
+ description : ipfsResources specifies the resource requirements for
61
+ each IPFS container. If this value is omitted, then the operator
62
+ will automatically determine these settings based on the storage
63
+ sizes used.
64
+ properties :
65
+ limits :
66
+ additionalProperties :
67
+ anyOf :
68
+ - type : integer
69
+ - type : string
70
+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
71
+ x-kubernetes-int-or-string : true
72
+ description : ' Limits describes the maximum amount of compute resources
73
+ allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
74
+ type : object
75
+ requests :
76
+ additionalProperties :
77
+ anyOf :
78
+ - type : integer
79
+ - type : string
80
+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
81
+ x-kubernetes-int-or-string : true
82
+ description : ' Requests describes the minimum amount of compute
83
+ resources required. If Requests is omitted for a container,
84
+ it defaults to Limits if that is explicitly specified, otherwise
85
+ to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
86
+ type : object
87
+ type : object
50
88
ipfsStorage :
51
89
anyOf :
52
90
- type : integer
53
91
- type : string
92
+ description : ipfsStorage defines the total storage to be allocated
93
+ by this resource.
54
94
pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
55
95
x-kubernetes-int-or-string : true
56
96
networking :
97
+ description : networking defines network configuration settings.
57
98
properties :
58
99
circuitRelays :
59
100
format : int32
@@ -62,12 +103,16 @@ spec:
62
103
- circuitRelays
63
104
type : object
64
105
public :
106
+ description : public determines whether or not we should be exposing
107
+ this IPFS Cluster to the public.
65
108
type : boolean
66
109
replicas :
110
+ description : replicas sets the number of replicas of IPFS Cluster
111
+ nodes we should be running.
67
112
format : int32
68
113
type : integer
69
114
reprovider :
70
- description : Reprovider Describes the settings that each IPFS node
115
+ description : reprovider Describes the settings that each IPFS node
71
116
should use when reproviding content.
72
117
properties :
73
118
interval :
84
129
type : string
85
130
type : object
86
131
url :
132
+ description : url defines the URL to be using as an ingress controller.
87
133
type : string
88
134
required :
89
135
- clusterStorage
0 commit comments