Skip to content

Commit 7d613c2

Browse files
author
Mostafa Farghaly
committed
update kubectl explain commands with --api-version
1 parent 6d8d28d commit 7d613c2

File tree

4 files changed

+20
-11
lines changed

4 files changed

+20
-11
lines changed

ethereum/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Which will report node name, client, network, and consensus.
2222
If you want to get all the fields associated with ethereum `Node`:
2323

2424
```bash
25-
$ kubectl explain nodes.ethereum
25+
$ kubectl explain nodes --api-version ethereum.kotal.io/v1alpha1
2626
```
2727

2828
For a comprehensive reference on Ethereum `Node`, check our [ethereum reference](../reference/ethereum.md)

ethereum2/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ spec:
2828
For all the fields associated with the `BeaconNode` API resource:
2929

3030
```bash
31-
kubectl explain beaconnode
32-
kubectl explain beaconnode.spec
31+
kubectl explain beaconnode --api-version ethereum2.kotal.io/v1alpha1
32+
kubectl explain beaconnode.spec --api-version ethereum2.kotal.io/v1alpha1
3333
```
3434

3535
Full beacon node reference is documented [here](../reference/ethereum2.md).
@@ -58,9 +58,9 @@ spec:
5858
For all the fields associated with the `Validator` API resource:
5959

6060
```bash
61-
kubectl explain validator
62-
kubectl explain validator.spec
63-
kubectl explain validator.spec.keystores
61+
kubectl explain validator --api-version ethereum2.kotal.io/v1alpha1
62+
kubectl explain validator.spec --api-version ethereum2.kotal.io/v1alpha1
63+
kubectl explain validator.spec.keystores --api-version ethereum2.kotal.io/v1alpha1
6464
```
6565

6666
Full validator client reference is documented [here](../reference/ethereum2.md).

filecoin/README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,13 @@ metadata:
99
name: nerpa-node
1010
spec:
1111
network: nerpa
12-
```
12+
```
13+
14+
For all the fields associated with the `Node` API resource:
15+
16+
```bash
17+
kubectl explain node --api-version filecoin.kotal.io/v1alpha1
18+
kubectl explain node.spec --api-version filecoin.kotal.io/v1alpha1
19+
```
20+
21+
Full filecoin node reference is documented [here](../reference/filecoin.md).

ipfs/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ spec: {}
1717
For all the fields associated with the `Peer` API resource:
1818

1919
```bash
20-
kubectl explain peers
21-
kubectl explain peers.spec
20+
kubectl explain peers --api-version ipfs.kotal.io/v1alpha1
21+
kubectl explain peers.spec --api-version ipfs.kotal.io/v1alpha1
2222
```
2323

2424
Full ipfs peer reference is documented [here](../reference/ipfs.md).
@@ -39,8 +39,8 @@ spec:
3939
For all the fields associated with the `ClusterPeer` API resource:
4040

4141
```bash
42-
kubectl explain clusterpeers
43-
kubectl explain clusterpeers.spec
42+
kubectl explain clusterpeers --api-version ipfs.kotal.io/v1alpha1
43+
kubectl explain clusterpeers.spec --api-version ipfs.kotal.io/v1alpha1
4444
```
4545

4646
Full ipfs cluster peer reference is documented [here](../reference/ipfs.md).

0 commit comments

Comments
 (0)