mirror of https://github.com/kubernetes/kops.git
Remove support for Ubuntu 18.04
This commit is contained in:
parent
86ade42ac0
commit
432ced6e57
|
@ -49,7 +49,7 @@ The following table provides the support status for various distros with regards
|
|||
| [RHEL 9](#rhel-9) | 1.27 | - | - | - |
|
||||
| [Rocky 8](#rocky-8) | 1.23.2 | 1.24 | - | - |
|
||||
| Ubuntu 16.04 | 1.5 | 1.10 | 1.17 | 1.20 |
|
||||
| [Ubuntu 18.04](#ubuntu-1804-bionic) | 1.10 | 1.16 | 1.26 | - |
|
||||
| Ubuntu 18.04 | 1.10 | 1.16 | 1.26 | 1.28 |
|
||||
| [Ubuntu 20.04](#ubuntu-2004-focal) | 1.16.2 | 1.18 | - | - |
|
||||
| [Ubuntu 22.04](#ubuntu-2204-jammy) | 1.23 | 1.24 | - | - |
|
||||
|
||||
|
@ -241,22 +241,6 @@ az vm image list --all --output table \
|
|||
--publisher Canonical --offer 0001-com-ubuntu-server-jammy --sku 22_04-lts-gen2
|
||||
```
|
||||
|
||||
## Deprecated Distros
|
||||
|
||||
### Ubuntu 18.04 (Bionic)
|
||||
|
||||
Ubuntu 18.04.5 is based on Kernel version **5.4** which fixes all the known major Kernel bugs.
|
||||
Earlier patch versions may still work, but are not recommended nor supported.
|
||||
|
||||
Available images can be listed using:
|
||||
|
||||
```bash
|
||||
aws ec2 describe-images --region us-east-1 --output table \
|
||||
--owners 099720109477 \
|
||||
--query "sort_by(Images, &CreationDate)[*].[CreationDate,Name,ImageId]" \
|
||||
--filters "Name=name,Values=ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-*"
|
||||
```
|
||||
|
||||
## Owner aliases
|
||||
|
||||
kOps supports owner aliases for the official accounts of supported distros:
|
||||
|
|
|
@ -18,14 +18,14 @@ This is a document to gather the release notes prior to the release.
|
|||
|
||||
* Support for Kubernetes version 1.22 has been removed.
|
||||
|
||||
* Support for Ubuntu 18.04 is has been removed.
|
||||
|
||||
# Deprecations
|
||||
|
||||
* Support for Kubernetes version 1.23 is deprecated and will be removed in kOps 1.29.
|
||||
|
||||
* Support for Kubernetes version 1.24 is deprecated and will be removed in kOps 1.30.
|
||||
|
||||
* Support for Ubuntu 18.04 is deprecated and will be removed in kOps 1.28.
|
||||
|
||||
* Support for AWS Classic Load Balancer for API is deprecated and should not be used for newly created clusters.
|
||||
|
||||
* All legacy addons are deprecated in favor of managed addons, including the [metrics server addon](https://github.com/kubernetes/kops/tree/master/addons/metrics-server) and the [autoscaler addon](https://github.com/kubernetes/kops/tree/master/addons/cluster-autoscaler).
|
||||
|
|
|
@ -40,7 +40,6 @@ var (
|
|||
DistributionDebian10 = Distribution{packageFormat: "deb", project: "debian", id: "buster", version: 10}
|
||||
DistributionDebian11 = Distribution{packageFormat: "deb", project: "debian", id: "bullseye", version: 11}
|
||||
DistributionDebian12 = Distribution{packageFormat: "deb", project: "debian", id: "bookworm", version: 12}
|
||||
DistributionUbuntu1804 = Distribution{packageFormat: "deb", project: "ubuntu", id: "bionic", version: 18.04}
|
||||
DistributionUbuntu2004 = Distribution{packageFormat: "deb", project: "ubuntu", id: "focal", version: 20.04}
|
||||
DistributionUbuntu2010 = Distribution{packageFormat: "deb", project: "ubuntu", id: "groovy", version: 20.10}
|
||||
DistributionUbuntu2104 = Distribution{packageFormat: "deb", project: "ubuntu", id: "hirsute", version: 21.04}
|
||||
|
|
|
@ -58,8 +58,6 @@ func FindDistribution(rootfs string) (Distribution, error) {
|
|||
return DistributionDebian11, nil
|
||||
case "debian-12":
|
||||
return DistributionDebian12, nil
|
||||
case "ubuntu-18.04":
|
||||
return DistributionUbuntu1804, nil
|
||||
case "ubuntu-20.04":
|
||||
return DistributionUbuntu2004, nil
|
||||
case "ubuntu-20.10":
|
||||
|
|
|
@ -114,11 +114,6 @@ func TestFindDistribution(t *testing.T) {
|
|||
err: fmt.Errorf("unsupported distro: ubuntu-16.04"),
|
||||
expected: Distribution{},
|
||||
},
|
||||
{
|
||||
rootfs: "ubuntu1804",
|
||||
err: nil,
|
||||
expected: DistributionUbuntu1804,
|
||||
},
|
||||
{
|
||||
rootfs: "ubuntu2004",
|
||||
err: nil,
|
||||
|
|
Loading…
Reference in New Issue