kubernetes cluster orchestration – k8s storage (configmap, secrets)

configmap Literal value creation kubectl create configmap my-config –from-literal=key1=config1 –from-literal=key2=config2 kubectl get cm kubectl describe cm my-config Create from file kubectl create configmap my-config-2 –from-file=/etc/resolv.conf kubectl describe cm my-config-2 Create from directory mkdir test cp /etc/passwd test/ cp /etc/fstab test/ ls test/ kubectl create configmap my-config-3 –from-file=test kubectl describe cm my-config-3 Created through yaml file […]

AutoX – Lazy loading of objects and image resources + Storage persistence

AutoX-lazy loading of objects and image resources + Storage persistence 1. Usage scenarios There are many scenarios that require lazy loading. The first time I needed the lazy loading function was when writing a game automation script. I needed to detect the coordinates of an item in advance before subsequent clicks. The item’s position on […]

MySQL — storage engine, index

1. MySQL architecture: 1. Client connector: mainly includes JDBC, PHP, python, etc. to connect to MySQL. 2. MySQL Server: MySQL Server, MySQL server is generally composed of connection layer, service layer, engine layer and storage layer 1. Connection layer: Mainly responsible for accepting client connections and completing some authorization and authentication management. For example, when […]

mysql user rights management index transaction storage engine

DDL:CTETATE DROP ALTER dml: manage data update insert into delete truncate dql: query statement select dcl: permission control statement grant revoke User rights management: create user ‘username’@’20.0.0.51’ idetified by ‘123456’; grant all select,insert,drop set password =password(‘123456’) set password for ‘username’@’localhost’ = password(‘adc123’); show grants for ‘root’@’20.0.0.51’; flush privileges; Permissions Permission Description Permission Level td> create […]

Android 10-11 adapts to external storage solutions

Android API 29 brings breaking changes to files and folders. External storage is not allowed, as follows: Environment.getExternalStorageDirectory() = /mnt/sdcard Environment.getExternalStoragePublicDirectory(“test”) = /mnt/sdcard/test Only internal storage can be used getExternalFilesDir(“test”) = /mnt/sdcard/Android/data/com.my.app/files/test getExternalFilesDir(null) = /mnt/sdcard/Android/data/com.my.app/files But Google officially gave a backdoor. Only by adding the android:requestLegacyExternalStorage=”true” attribute to the application node in the AndroidManifest.xml file […]

oracle (9)Storage & Relationship Strut

Table of Contents 1. Basic knowledge 1. Database logical structure diagram 2. Types of Segments 3. Storage Clause Precedence The priority of storage clauses 4. Range allocation and deallocation of Extent Alloc & Dealloc area 5. Used and Free Extents Used and Free Extents 6. Database Block database block 7. Multiple Block Size Rules 8. […]

Amazon Cloud Storage Services Guide: Explore S3, EBS, Glacier, EFS, and Storage Gateway

Background Cloud storage services play an important role in modern software development. They provide scalable and cost-effective solutions for storing and accessing data in the cloud. Amazon Web Services cloud storage service is preferred by developers as it offers many advantages. The flexibility of Amazon Cloud Technology’s cloud storage services is a key advantage. By […]