@@ -447,7 +447,7 @@ information.
447
447
448
448
449
449
<tr ><td ><code >bootstrapTokens</code ><br />
450
- <code >[ ] github.com/tengqm/kubeconfig/config/bootstraptoken/v1. BootstrapToken</code >
450
+ <a href = " #BootstrapToken " >< code >[ ] BootstrapToken</code ></ a >
451
451
</td >
452
452
<td >
453
453
` bootstrapTokens ` is respected at ` kubeadm init ` time and describes a set of Bootstrap Tokens to create.
@@ -1070,7 +1070,7 @@ HostPathMount contains elements describing volumes that are mounted from the hos
1070
1070
1071
1071
1072
1072
<tr ><td ><code >pathType</code ><br />
1073
- <a href =" https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20 /#hostpathtype-v1-core " ><code >core/v1.HostPathType</code ></a >
1073
+ <a href =" https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21 /#hostpathtype-v1-core " ><code >core/v1.HostPathType</code ></a >
1074
1074
</td >
1075
1075
<td >
1076
1076
` pathType ` is the type of the ` hostPath ` volume.</td >
@@ -1324,7 +1324,7 @@ annotated to the Node API object, for later re-use.</td>
1324
1324
1325
1325
1326
1326
<tr ><td ><code >taints</code > <B >[Required]</B ><br />
1327
- <a href =" https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20 /#taint-v1-core " ><code >[ ] core/v1.Taint</code ></a >
1327
+ <a href =" https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21 /#taint-v1-core " ><code >[ ] core/v1.Taint</code ></a >
1328
1328
</td >
1329
1329
<td >
1330
1330
` taints ` specifies the taints the Node API object should be registered with. If
@@ -1359,7 +1359,7 @@ the current node is registered.</td>
1359
1359
1360
1360
1361
1361
<tr ><td ><code >imagePullPolicy</code ><br />
1362
- <a href =" https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20 /#pullpolicy-v1-core " ><code >core/v1.PullPolicy</code ></a >
1362
+ <a href =" https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21 /#pullpolicy-v1-core " ><code >core/v1.PullPolicy</code ></a >
1363
1363
</td >
1364
1364
<td >
1365
1365
` imagePullPolicy ` specifies the policy for image pulling during ` kubeadm init ` and
@@ -1413,4 +1413,117 @@ first alpha-numerically.</td>
1413
1413
</tbody >
1414
1414
</table >
1415
1415
1416
+
1417
+ ## ` BootstrapToken ` {#BootstrapToken}
1418
+
1419
+ ** Appears in:**
1420
+
1421
+ - [ InitConfiguration] ( #kubeadm-k8s-io-v1beta3-InitConfiguration )
1422
+
1423
+
1424
+ BootstrapToken describes one bootstrap token, stored as a Secret in the cluster
1425
+
1426
+ <table class =" table " >
1427
+ <thead ><tr ><th width =" 30% " >Field</th ><th >Description</th ></tr ></thead >
1428
+ <tbody >
1429
+
1430
+
1431
+
1432
+ <tr ><td ><code >token</code > <B >[Required]</B ><br />
1433
+ <a href =" #BootstrapTokenString " ><code >BootstrapTokenString</code ></a >
1434
+ </td >
1435
+ <td >
1436
+ ` token ` is used for establishing bidirectional trust between nodes and control-planes.
1437
+ Used for joining nodes in the cluster.</td >
1438
+ </tr >
1439
+
1440
+
1441
+ <tr ><td ><code >description</code ><br />
1442
+ <code >string</code >
1443
+ </td >
1444
+ <td >
1445
+ ` description ` sets a human-friendly message why this token exists and what it's used
1446
+ for, so other administrators can know its purpose.</td >
1447
+ </tr >
1448
+
1449
+
1450
+ <tr ><td ><code >ttl</code ><br />
1451
+ <a href =" https://godoc.org/k8s.io/apimachinery/pkg/apis/meta/v1#Duration " ><code >meta/v1.Duration</code ></a >
1452
+ </td >
1453
+ <td >
1454
+ ` ttl ` defines the time to live for this token. Defaults to ` 24h ` .
1455
+ ` expires ` and ` ttl ` are mutually exclusive.</td >
1456
+ </tr >
1457
+
1458
+
1459
+ <tr ><td ><code >expires</code ><br />
1460
+ <a href =" https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#time-v1-meta " ><code >meta/v1.Time</code ></a >
1461
+ </td >
1462
+ <td >
1463
+ ` expires ` specifies the timestamp when this token expires. Defaults to being set
1464
+ dynamically at runtime based on the ` ttl ` . ` expires ` and ` ttl ` are mutually exclusive.</td >
1465
+ </tr >
1466
+
1467
+
1468
+ <tr ><td ><code >usages</code ><br />
1469
+ <code >[ ] string</code >
1470
+ </td >
1471
+ <td >
1472
+ ` usages ` describes the ways in which this token can be used. Can by default be used
1473
+ for establishing bidirectional trust, but that can be changed here.</td >
1474
+ </tr >
1475
+
1416
1476
1477
+ <tr ><td ><code >groups</code ><br />
1478
+ <code >[ ] string</code >
1479
+ </td >
1480
+ <td >
1481
+ ` groups ` specifies the extra groups that this token will authenticate as when/if
1482
+ used for authentication</td >
1483
+ </tr >
1484
+
1485
+
1486
+ </tbody >
1487
+ </table >
1488
+
1489
+ ## ` BootstrapTokenString ` {#BootstrapTokenString}
1490
+
1491
+
1492
+
1493
+
1494
+ ** Appears in:**
1495
+
1496
+ - [ BootstrapToken] ( #BootstrapToken )
1497
+
1498
+
1499
+ BootstrapTokenString is a token of the format ` abcdef.abcdef0123456789 ` that is used
1500
+ for both validation of the practically of the API server from a joining node's point
1501
+ of view and as an authentication method for the node in the bootstrap phase of
1502
+ "kubeadm join". This token is and should be short-lived.
1503
+
1504
+ <table class =" table " >
1505
+ <thead ><tr ><th width =" 30% " >Field</th ><th >Description</th ></tr ></thead >
1506
+ <tbody >
1507
+
1508
+
1509
+
1510
+ <tr ><td ><code >-</code > <B >[Required]</B ><br />
1511
+ <code >string</code >
1512
+ </td >
1513
+ <td >
1514
+ <span class =" text-muted " >No description provided.</span >
1515
+ </td >
1516
+ </tr >
1517
+
1518
+
1519
+ <tr ><td ><code >-</code > <B >[Required]</B ><br />
1520
+ <code >string</code >
1521
+ </td >
1522
+ <td >
1523
+ <span class =" text-muted " >No description provided.</span >
1524
+ </td >
1525
+ </tr >
1526
+
1527
+
1528
+ </tbody >
1529
+ </table >
0 commit comments