Skip to content

NimTechnology

Trình bày các công nghệ CLOUD một cách dễ hiểu.

  • Kubernetes & Container
    • Docker
    • Kubernetes
      • Ingress
    • Helm Chart
    • Isito-EnvoyFilter
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Vault
    • Longhorn – Storage
    • VictoriaMetrics
    • MetalLB
    • Kong Gateway
  • CI/CD
    • ArgoCD
    • ArgoWorkflows
    • Spinnaker
    • Jenkins
    • Harbor
    • TeamCity
    • Git
      • Bitbucket
  • Coding
    • Terraform
      • GCP – Google Cloud
      • AWS – Amazon Web Service
    • Golang
    • Laravel
    • Python
    • Jquery & JavaScript
    • Selenium
  • Log & Monitor
    • DataDog
    • Prometheus
    • Grafana
    • ELK
      • Kibana
      • Logstash
  • BareMetal
    • NextCloud
  • Toggle search form

[issues-Kaniko] The problems on the Kaniko.

Posted on January 20, 2022January 27, 2022 By nim No Comments on [issues-Kaniko] The problems on the Kaniko.

Contents

  • Error related to kaniko – jenkins – cache registry.
  • Kaniko take much time to snapshot full system
  • No Cache when Build by Kaniko

Error related to kaniko – jenkins – cache registry.

có thể bạn bỏ flag: --use-new-run

Khi build image trên kaniko thì bị lỗi này khi dùng chung flag là: --cache=true

 error building image: error building stage: failed to execute command: extracting fs from image: removing whiteout .wh.dev: unlinkat //dev/console: device or resource busy
 OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "setup user: no such file or directory": unknown

Khả năng bị lỗi cache trên registry:
asia.gcr.io/nimtechnology/po_airflow/cache

cần xoá cache image

bạn có thể tham khài sau:
https://blog.lazybit.ch/docker-registry-in-cluster-kaniko-cache/

Kaniko take much time to snapshot full system

sau đây là ý kiến của 1 developer:
cho mình hỏi vd trên môi trường uat mình muốn skip việc Taking snapshot of full filesystem... thì có cách nào config ko (mình vẫn muốn build docker), nhưng mà thấy cái snapshot full system này ko cần thiết lắm trên dev, mà tiết kiệm đc khá nhiều thời gian ấy

Vậy chúng ta cần có các flag như sau:

--snapshotMode=redo

cái này thì chỉ bỏ snapshot ở lần cuối cùng

--single-snapshot=true

Cái này hình như là bỏ toàn bộ, ko snapshot

No Cache when Build by Kaniko

--no-cache

https://stackoverflow.com/questions/66662042/how-to-clear-kaniko-cache-on-build-for-cloud-run

Kubernetes & Container

Post navigation

Previous Post: [Kibana] Tutorial export and import much data(dashboard,…) in Kibana – ELK
Next Post: [helm-chart] Using “toYaml” to design helm-chart – Kubernetes

More Related Articles

[Oauth2-Proxy] Protect any of your websites on Kubernetes by Oauth2-Proxy Kubernetes & Container
[AWS] Creating EKS windows on AWS and Running windows pods AWS - Amazon Web Service
[Linux] How to Check Disk Performance (IOPS and Latency) in Linux? Kubernetes & Container
[Kubernetes] How to delete POD is Terminating and very stubborn Kubernetes
[Docker] Comand Docker hay quên!! Docker
[Kubernestes] I waiting too long but my workload is still unavailable Kubernetes & Container

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Tham Gia Group DevOps nhé!
Để Nim có nhiều động lực ra nhiều bài viết.
Để nhận được những thông báo mới nhất.

Recent Posts

  • Experiences for IP Addresses Shortage on EKS Clusters March 29, 2023
  • [Talisman] Discover the sensitive information in your code. March 28, 2023
  • [Prometheus/Grafana] Install Prometheus and Grafana on ubuntu. March 27, 2023
  • [Kong Gateway] WebSocket connection failed March 26, 2023
  • [Nextcloud] Can’t download files to have a size bigger than 2Gi on NextCloud – RaspBerry March 24, 2023

Archives

  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021

Categories

  • BareMetal
    • NextCloud
  • CI/CD
    • ArgoCD
    • ArgoWorkflows
    • Git
      • Bitbucket
    • Harbor
    • Jenkins
    • Spinnaker
    • TeamCity
  • Coding
    • Golang
    • Jquery & JavaScript
    • Laravel
    • Python
    • Selenium
    • Terraform
      • AWS – Amazon Web Service
      • GCP – Google Cloud
  • Kubernetes & Container
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Docker
    • Helm Chart
    • Isito-EnvoyFilter
    • Kong Gateway
    • Kubernetes
      • Ingress
    • Longhorn – Storage
    • MetalLB
    • Vault
    • VictoriaMetrics
  • Log & Monitor
    • DataDog
    • ELK
      • Kibana
      • Logstash
    • Grafana
    • Prometheus
  • Uncategorized
  • Admin

Copyright © 2023 NimTechnology.