0.1.0-0.1.0 • Published 5 years ago

@helm-charts/banzaicloud-stable-nginx-logging-demo v0.1.0-0.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

@helm-charts/banzaicloud-stable-nginx-logging-demo

A Demo application for the logging-operator

FieldValue
Repository Namebanzaicloud-stable
Chart Namenginx-logging-demo
Chart Version0.1.0
NPM Package Version0.1.0
# Default values for nginx-logging-demo.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 1

image:
  repository: nginx
  tag: stable
  pullPolicy: IfNotPresent

nameOverride: ''
fullnameOverride: ''

service:
  type: ClusterIP
  port: 80

ingress:
  enabled: false
  annotations:
    {}
    # kubernetes.io/ingress.class: nginx
    # kubernetes.io/tls-acme: "true"
  hosts:
    - host: chart-example.local
      paths: []

  tls: []
  #  - secretName: chart-example-tls
  #    hosts:
  #      - chart-example.local

resources:
  {}
  # We usually recommend not to specify default resources and to leave this as a conscious
  # choice for the user. This also increases chances charts run on environments with little
  # resources, such as Minikube. If you do want to specify resources, uncomment the following
  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  # limits:
  #   cpu: 100m
  #   memory: 128Mi
  # requests:
  #   cpu: 100m
  #   memory: 128Mi

nodeSelector: {}

tolerations: []

affinity: {}

Logging Operator Nginx demonstration Chart

Logging Operator is a managed centralized logging component based on fluentd and fluent-bit.

tl;dr:

$ helm repo add banzaicloud-stable http://kubernetes-charts.banzaicloud.com/branch/master
$ helm repo update
$ helm install banzaicloud-stable/nginx-logging-demo

Introduction

This chart demonstrates the use of the Logging Operator with an nginx deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

Installing the Chart

To install the chart with the release name log-test-nginx:

$ helm install --name log-test-nginx banzaicloud-stable/nginx-logging-demo

Uninstalling the Chart

To uninstall/delete the log-test-nginx deployment:

$ helm delete log-test-nginx

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following tables lists the configurable parameters of the nginx-logging-demo chart and their default values.

ParameterDescriptionDefault
image.repositoryContainer image repositorynginx
image.tagContainer image tagstable
image.pullPolicyContainer pull policyIfNotPresent
nameOverrideOverride name of app
fullnameOverrideOverride full name of app
affinityNode Affinity{}
resourcesCPU/Memory resource requests/limits{}
tolerationsNode Tolerations[]
nodeSelectorDefine which Nodes the Pods are scheduled on.{}

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example:

$ helm install --name my-release -f values.yaml banzaicloud-stable/nginx-logging-demo

Tip: You can use the default values.yaml