In the current era of incredible technological advancement, the IT industry is switching from traditional storing to online storage because "cloud" providers supply assets on request over the Internet. The paradigm of cloud technology is effective and quickly expanding, and new features and capabilities are frequently revealed. Pay as user use is the idea behind this, and it enables companies to migrate to the cloud. This has made security of this data problematic. One of the main issues that cloud users have is the security of cloud-based apps. These are the three guiding principles of cloud security: Integrity, Confidentiality, and Availability. Among the best strategies is to use container clustering. This may done using many ways. In this essay, we examine and contrast two of these technologies, i.e. Kubernetes with Docker Swarm.