Is there any way of viewing cache data in kubernetes cluster ? Does it get stored in a folder somewhere or can It be shown via a monitoring tool (Prometheus) ? And how to clean the cache data in k8s cluster ?
Clear Cache data in Kubernetes cluster
31.5k Views Asked by Shantanu Makkar At
3
There are 3 best solutions below
0
Toni
On
It would help if you could specify which kind of cache data you would like to clear, and what you would like to achieve.
For kubectl there is a default cache directory$HOME/.kube/cache 1, and $HOME/.kube/http-cache for the http cache 2.
There’s also a cache server like Memcached that is used for caching web content in k8s reference 3.
Related Questions in AMAZON-WEB-SERVICES
- "Access Denied" - User's Permissions to S3 Bucket
- Cohort analysis with Amazon Redshift / PostgreSQL
- Using Amazon KMS service on Heroku
- can't ssh in after cloning an EC2 instance on Amazon AWS
- Using HDFS with Apache Spark on Amazon EC2
- How can I access Mule ESB Community edition via browser?
- AWS EC2: Migrating from Windows to Linux Server
- AWS ELB Load Balancer: is it possible to set multiple session cookies?
- AWS Flow Framework: Can we run activity worker and activity task on different EC2 instances
- Unable to access files from public s3 bucket with boto
- Cloudfront stream only part of the video
- s3cmd not working as cron-task when echos/dates are added
- How to deploy django 1.8 on Elastic Beanstalk using Docker
- InstanceProfile is required for creating cluster - create python function to install module
- How to fix WordPress HTTPS issues when behind an Amazon Load Balancer?
Related Questions in KUBERNETES
- How to know a Pod's own IP address from inside a container in the Pod?
- Who will decide the "specified number of pods" for replication controller in kubernetes?
- Access other containers of a pod in Kubernetes
- Kubernetes cluster using Vagrant not working after restart
- kubectl not installed with gcloud SDK
- How do I access the Kubernetes api from within a pod container?
- Exposing several services with Vagrant and Kubernetes on my own server
- Does Kubernetes provision new VMs for pods on my cloud platform?
- Any suggestion for running Aerospike on Kubernetes on CoreOS on GCE?
- Kubernetes - kubectl exec bash - session drop and line width
- Google Container Engine (GKE): "Hello Wordpress" tutorial not working (ERR_CONNECTION_REFUSED)
- Kubernetes Pod Creation Speed
- How can i set max count of pods for replication-controller per node?
- Is there a way to tell kubernetes to update your containers?
- Postgres with Kubernetes and persistentDisk
Related Questions in GOOGLE-KUBERNETES-ENGINE
- Cannot access google cloud SQL from google container engine
- Cluster communication and firewalls in Google Container Engine
- Google Container Engine (GKE): "Hello Wordpress" tutorial not working (ERR_CONNECTION_REFUSED)
- Setting up continuous deployment to Google Compute Engine running Kubernetes
- Does Google Container Registry undergo issues?
- How to mount volume for docker container via yaml manifest?
- LogSeverity on aggregated logs in Google Container Engine
- How do I permanently edit cluster/saltbase/pillar/privilege.sls to allow_privledged with Google Container Engine?
- Static outgoing IP in Kubernetes
- Docker container curl to web
- enable stackdriver monitoring agent google container engine clusters on gci image
- Networking between flex environment app engine and cluster engine?
- Set vm.max_map_count on cluster nodes
- How to reduce nodes(vm) running in a Kubernetes cluster of GKE gracefully?
- Google Container Engine StatefulSets in kubernetes 1.5.1 don't seem to work
Related Questions in INFRASTRUCTURE
- What is the point of definnig Asp.net Intrinsic Objects In different places and what is the different betwen them?
- Whats the best structure to use when you have many characters that all have the same behavior and animation but different Sprite images?
- AWS Cloudformation
- SOAP/REST Web Services - Infrastructure & Best Practices
- Terraform Workflow At Scale
- Cant Get the IP Address Of the client On my Published Website
- How to design and calculate cost of cloud infrastructure?
- How to setup the infrastructure with blade servers for OpenStack
- single-tenant with rapid personalization on Ruby on rails, Saas application
- How to create/use Configuration File for Infrastructure Layer (Class Library) Project in Domain-Driven Model
- Cyclic Dependency between Infrastructure and Model Layers/projects of DDD
- Declare Terraform Variable
- How to display top K nodes w.r.t CPU usage?
- How to import random_id with keepers
- How to import an existing S3 object with Pulumi?
Related Questions in KUBERNETES-HEALTH-CHECK
- When to use Docker HEALTHCHECK vs livenessProbe / readinessProbe
- Should gRPC health checking be limited to gRPC services?
- Does HPA(Horizontal pod autoscaling) considers the mean of CPU utilization of multiple containers(in a pod) to scale the pods?
- Why does Ingress fail when LoadBalancer works on GKE?
- Kubernetes on Azure - liveness and readiness probes failing - Liveness probe failed with connect: connection refused
- HEALTH CHECK not resolving for ClamAV hosted in GKE cluster
- Add health check for Nginx in docker file
- Kubernetes Node healthcheck
- Where are these kubernetes healthchecks coming from?
- Can you tell kubernetes to start one pod before another?
- GKE gRPC Ingress Health Check with mTLS
- HealthChecks Setup in Kubernetes
- Continuous TLS handshake error logs in vault nodes due to LB health check
- Kubernetes liveness probe on a secure mTLS health check endpoint
- Clear Cache data in Kubernetes cluster
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

There is cache directory in Kubernetes; however, it is held within the Master Node. As shown in this github link, the issue was found when debugging the kube-controller which is handled by the Master Node.
I am not familiar with Amazon's cloud service; however, within GKE, the Master node is a managed service and customers do not have access to it. So to answer your question, yes there is a cache directory in Kubernetes, but you cannot view it within GKE.