SUSE Multi-Linux Manager Proxy Deployment on K3s

1. 安装 K3s

在容器主机计算机上,安装 K3s(请将 <K3S_HOST_FQDN> 替换为 k3s 主机的 FQDN):

curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--tls-san=<K3S_HOST_FQDN>" sh -

2. 安装工具

在安装时需要提供 mgrpxyhelm 软件包。

Install Helm by using the installer script:

curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh

The mgrpxy package is available in the container utils repository. Pick the one matching the distribution in: https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable:/ContainerUtils/.

过程
  1. To install package on Leap Micro run:

    transactional-update pkg install mgrpxy
  2. 重引导。

3. 部署 SUSE Multi-Linux Manager 代理 helm 图表

要配置 SUSE Multi-Linux Manager 代理 Pod 使用的卷存储空间,请为以下声明定义永久性卷。如果您未自定义存储配置,K3s 将自动为您创建存储卷。

永久性卷声明已命名为:

  • squid-cache-pv-claim

  • /package-cache-pv-claim

  • /tftp-boot-pv-claim

按照 容器化 SUSE Multi-Linux Manager Proxy 设置 中所述创建 SUSE Multi-Linux Manager 代理的配置。复制 tar.gz 配置文件,然后安装:

mgrpxy install kubernetes /path/to/config.tar.gz

For more information see: