Skip to content

Commit

Permalink
DOCS-2209: Cuts version docs for CC 19.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ctauchen committed Jun 5, 2024
1 parent ed1bfb9 commit f868ae6
Show file tree
Hide file tree
Showing 331 changed files with 60,234 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
import React from 'react';

import Admonition from '@theme/Admonition';
import CodeBlock from '@theme/CodeBlock';
import Link from '@docusaurus/Link';

import { baseUrl } from '../../variables';

export default function EnvironmentFile(props) {
return (
<>
<p>
{props.install === 'container' ? (
<span>
Use the following guidelines and sample file to define the environment variables for starting Calico on the host.
For more help, see the <Link href={`${baseUrl}/reference/component-resources/node/configuration`}>{props.nodecontainer} configuration reference</Link>
</span>
) : (
<span>
Use the following guidelines and sample file to define the environment variables for starting Calico on the host.
</span>
)}
</p>
<p>For the Kubernetes datastore set the following:</p>
<table>
<thead>
<tr>
<th>Variable</th>
<th>Configuration guidance</th>
</tr>
</thead>
<tbody>
<tr>
<td>KUBECONFIG</td>
<td>Path to kubeconfig file to access the Kubernetes API Server</td>
</tr>
</tbody>
</table>
{props.install === 'container' && (
<Admonition type='note'>
If using certificates and keys, you will need to volume mount them into the container at the location
specified by the paths mentioned above.
</Admonition>
)}
<p>
Sample <code>EnvironmentFile</code> - save to <code>/etc/calico/calico.env</code>
</p>
<CodeBlock language='bash'>
{`DATASTORE_TYPE=kubernetes
CALICO_NODENAME=""
NO_DEFAULT_POOLS="true"
CALICO_IP=""
CALICO_IP6=""
CALICO_AS=""
CALICO_NETWORKING_BACKEND=bird`}
</CodeBlock>
</>
);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
import React from 'react';
import Admonition from '@theme/Admonition';
import Heading from '@theme/Heading';

import { prodname } from '../../variables';

export default function ReqsKernel() {
return (
<>
<Heading
as='h2'
id='kernel-dependencies'
>
Kernel Dependencies
</Heading>
<Admonition type='tip'>
<p>If you are using one of the recommended distributions, you will already satisfy these.</p>
</Admonition>
<p>
Due to the large number of distributions and kernel version out there, it’s hard to be precise about the names
of the particular kernel modules that are required to run {prodname}. However, in general, you’ll need:
</p>
<ul>
<li>
<p>
The <code>iptables</code> modules (both the “legacy” and “nft” variants are supported). These are typically
broken up into many small modules, one for each type of match criteria and one for each type of action.{' '}
{prodname} requires:
</p>
<ul>
<li>The “base” modules (including the IPv6 versions if IPv6 is enabled in your cluster).</li>
<li>
At least the following match criteria: <code>set</code>,<code>rpfilter</code>, <code>addrtype</code>,{' '}
<code>comment</code>,<code>conntrack</code>, <code>icmp</code>, <code>tcp</code>,<code>udp</code>,{' '}
<code>ipvs</code>, <code>icmpv6</code> (if IPv6 is enabled in your kernel), <code>mark</code>,{' '}
<code>multiport</code>,<code>rpfilter</code>, <code>sctp</code>, <code>ipvs</code> (if using
<code>kube-proxy</code> in IPVS mode).
</li>
<li>
At least the following actions: <code>REJECT</code>,<code>ACCEPT</code>, <code>DROP</code>,{' '}
<code>LOG</code>.
</li>
</ul>
</li>
<li>
<p>IP sets support.</p>
</li>
<li>
<p>Netfilter Conntrack support compiled in (with SCTP support if using SCTP).</p>
</li>
<li>
<p>
IPVS support if using <code>kube-proxy</code> in IPVS mode.
</p>
</li>
<li>
<p>
IPIP, VXLAN, Wireguard support, if using {prodname}
networking in one of those modes.
</p>
</li>
<li>
<p>
eBPF (including the <code>tc</code> hook support) and XDP (if you want to use the eBPF dataplane).
</p>
</li>
</ul>
</>
);
}
Loading

0 comments on commit f868ae6

Please sign in to comment.