کانال انجمن کلاد و دوآپس تبریز
263 subscribers
116 photos
5 videos
57 files
558 links
کانال انجمن کلاد، دوآپس و مهندسی اتکاپذیری سیستم تبریز، نشر اطلاعیه رویداد ها و همایش های حوزه کلاد و دوآپس تبریز
لینک گروه

https://t.iss.one/devops_tabriz_group

admin
@arsalanses
Download Telegram
Static Pods
Static Pods are managed directly by the kubelet daemon on a specific node, without the API server observing them. Unlike Pods that are managed by the control plane (for example, a Deployment); instead, the kubelet watches each static Pod (and restarts it if it fails).
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
swaks -f from-mail-address -t to-mail-address -s smtp-server:port -tls --au username --ap password --h-Subject: "Hello" --body 'Test email!'
Forwarded from Arsalan Se
https://www.restack.io/docs/nextjs-knowledge-nextjs-dockerfile-guide

FROM node:18-alpine

# Set the working directory in the container
WORKDIR /app

# Copy the package.json and package-lock.json
COPY package*.json ./

# Install dependencies
RUN npm install

# Copy the rest of your app's source code
COPY . .

# Build your Next.js app
RUN npm run build

# Expose port 3000 to the Docker daemon so it can communicate
EXPOSE 3000

# Run the Next.js start script
CMD ["npm", "start"]
A One-Liner sed Command to Format SSH Config File
sed -i -e '/^\s*#/!{/^\s*Host /!s/^\s*/\t/}' \
-e '/^\s*Host /s/^\s*//' \
~/.ssh/config
no data just schema with --no-data
mysqldump -u root -p'password' --no-data --single-transaction --opt --skip-lock-tables dbname > dbnameschema.sql