What is the best way to verify if a linux host is controlled by orchestration platform: Swarm / Kubernetes

What is the best why to verify if a Linux host that running docker is also connect to orchestration platform ?

For example, the docker info command give indication if a node is controlled by the Swarm orchestration platform:

docker info:

Cgroup Driver: cgroupfs
Volume: local
Network: bridge host macvlan null overlay
Swarm: active
NodeID: rdjq45w1op418waxlairloqbm
Is Manager: true
ClusterID: te8kdyw33n36fqiz74bfjeixd

There is any similar way to get the same information for Kubernetes?