just run:
$ cat /etc/redhat-release
Red Hat Enterprise Linux release 9.3 (Plow)
$ kubectl get --raw /version | jq .
{
"major": "1",
"minor": "27",
"gitVersion": "v1.27.7",
"gitCommit": "07a61d861519c45ef5c89bc22dda289328f29343",
"gitTreeState": "clean",
"buildDate": "2023-10-18T11:33:23Z",
"goVersion": "go1.20.10",
"compiler": "gc",
"platform": "linux/amd64"
}
that is all