New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Container-Optimized OS support #6165
Comments
According to the document statement:
Given that Longhorn is compatible with Google Kubernetes Engine (GKE), we can assume that it should also work on self-launched COS + Kubernetes. TODO: manually create a COS cluster with Kubernetes and verify Longhorn passes the core testing. |
Seems like we've only tested GKE with UBUNTU_CONTAINERD. We've never done any testings with TODO: figure out how if it is possible to get Longhorn dependencies onto COS. |
COS_CONTAINERD doesn't ship with the package manager, and the majority of directories are set to read-only. GKE works around this by cloud-config in user-data and
Testing with other orchestrators like K3s is challenging due to the absence of a support method for the environment pre-configuration. The easiest approach is to use GKE which comes with the COS_CONTAINER + Kubernetes. We could potentially use the same rootfs for installing Longhorn dependencies and mounting for the data path. However, since the ref: https://github.com/kubernetes/kubernetes/tree/v1.29.2/cluster/gce |
As evidence supporting the assumption mentioned above, below is the installed the open-iscsi via a daemonset and confirmed it is running on the host system:
|
Given that we've done the majority of the work on the Talos support feature, it seems that this feature that only a small effort is needed for this feature. Primarily, providing users with the necessary dependency installation. Additionally, in GKE, periodic updates are made to Below is the full PoC test result using
Below is the core test result
|
Pre Ready-For-Testing Checklist
|
Hi @c3y1huang , test case test_replica_auto_balance_node_duplicates_in_multiple_zones failed on master pipeline after longhorn/longhorn-tests#1819, could you take a look on that? thank you. |
Thank you @chriscchien . Will be fixed in longhorn/longhorn-tests#1849. |
After applied
Not sure if there's any issue here, but longhorn can be installed without problem. cc @c3y1huang |
When iSCSId is installed via package managers within a container, the package manager will try to initiate the ISCSi services managed by systemd, which causes problems because the container environment doesn't fully support systemd. Hence, the script manually starts the daemon instead of relying on systemd. Therefore, this kind of error should be safe to ignore in this context. |
Verified passed on master-head (longhorn-manager f63611c) following the document to setup Longhorn on |
@c3y1huang can we mention this error as an expected warning in the doc? to prevent any confusion or later explanation? |
Sure! Doc updated. |
Is your feature request related to a problem? Please describe (馃憤 if you like this request)
https://cloud.google.com/container-optimized-os/docs This is an evaluation task instead to see how Longhorn can integrate with it.
Describe the solution you'd like
A clear and concise description of what you want to happen
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Limitations https://cloud.google.com/container-optimized-os/docs/concepts/features-and-benefits
The text was updated successfully, but these errors were encountered: