programmer group

C # constructor (instance, static, private)

Microsoft official constructor doc link Whenever you createclassorstructureIts constructor is called. A class or structure may have multiple constructors with different arguments. Using constructors, programmers can set default values, restrict instantiation, and write flexible and readable code. There are three types of constructors instant constructor private constructors static constructor Modifier public Default...

programmer group

Crontab configuration does not work in Ubuntu

Operating system: kylin V4 based on Ubuntu 15.04 The configuration of crontab on kylin is correct, but crontab doesn’t work. Configuration method A document was prepared in advance crontab.conf , contains only the following, printed every minute */1 * * * * echo test Copy the file to the crontab configuration corresponding to the root identity cp crontab.conf /var/spool/cron/crontabs/root Run cron – L to find that the...

programmer group

TLS certificate management under k8s

A series of articles: Application management under k8s — Understanding Helm Application management under k8s — understanding helmfile TLS certificate management under k8s Application management in k8s — creation and maintenance of private helm chart It’s very easy to implement TLS termination in kubernetes. The ingress resource contains asecretNameProperty to specify the name of the secret resource....