@@ -4,7 +4,6 @@ metadata:
4
4
annotations :
5
5
controller-gen.kubebuilder.io/version : v0.8.0
6
6
creationTimestamp : null
7
- labels : {}
8
7
name : ipfsclusters.cluster.ipfs.io
9
8
spec :
10
9
group : cluster.ipfs.io
@@ -33,10 +32,19 @@ spec:
33
32
metadata :
34
33
type : object
35
34
spec :
35
+ description : IpfsClusterSpec defines the desired state of the IpfsCluster.
36
36
properties :
37
37
clusterStorage :
38
- 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
39
45
follows :
46
+ description : follows defines the list of other IPFS Clusters this
47
+ one should follow.
40
48
items :
41
49
properties :
42
50
name :
@@ -48,27 +56,59 @@ spec:
48
56
- template
49
57
type : object
50
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
51
88
ipfsStorage :
52
89
anyOf :
53
90
- type : integer
54
91
- type : string
92
+ description : ipfsStorage defines the total storage to be allocated
93
+ by this resource.
55
94
pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
56
95
x-kubernetes-int-or-string : true
57
96
networking :
97
+ description : networking defines network configuration settings.
58
98
properties :
59
99
circuitRelays :
60
100
format : int32
61
101
type : integer
62
102
required :
63
103
- circuitRelays
64
104
type : object
65
- public :
66
- type : boolean
67
105
replicas :
106
+ description : replicas sets the number of replicas of IPFS Cluster
107
+ nodes we should be running.
68
108
format : int32
69
109
type : integer
70
110
reprovider :
71
- description : Reprovider Describes the settings that each IPFS node
111
+ description : reprovider Describes the settings that each IPFS node
72
112
should use when reproviding content.
73
113
properties :
74
114
interval :
@@ -84,14 +124,11 @@ spec:
84
124
- roots
85
125
type : string
86
126
type : object
87
- url :
88
- type : string
89
127
required :
90
128
- clusterStorage
91
129
- follows
92
130
- ipfsStorage
93
131
- networking
94
- - public
95
132
- replicas
96
133
type : object
97
134
status :
0 commit comments