Im using helm chart stable on Amazon EKS
Drone is doing a good job with all my builds. Only with one project that the image is 10GB, it fails to build. I see kubernetes setting the agent to Evicted with error: ephemeral disk space full.
I tried to follows a few examples from other support tickets but with no luck.
I have this simple pipeline below:
kind: pipeline
type: docker
name: default
steps:
- name: publish
image: plugins/ecr
environment:
PLUGIN_STORAGE_DRIVER: overlay2
PLUGIN_CACHE_FROM: test.xxxxx.xxx.eu-west-1.amazonaws.com/test:latest
settings:
repo: test
region: eu-west-1
tags:
- ${DRONE_COMMIT}
- latest
access_key:
from_secret: aws_access_key_id
secret_key:
from_secret: aws_secret_access_key
registry: test.xxxxx.xxx.eu-west-1.amazonaws.com
- name: deploy
image: quay.io/hectorqin/drone-kubectl
settings:
kubernetes_template: k8s/api-deployment.yaml
kubernetes_namespace: default
kubernetes_server: https://test.xxxxxx.xxxx.sk1.eu-west-1.eks.amazonaws.com
kubernetes_cert:
from_secret: KUBERNETES_CERT
kubernetes_token:
from_secret: KUBERNETES_TOKEN
environment:
DRONE_COMMIT: ${DRONE_COMMIT}
trigger:
branch:
- development
What is the best way of having more space on my DinD or maybe should I use another runner? I havent use Kubernetes runner as it is deprecated.
I can give more info if needed, thanks