Skip to main content

Nichi Yorozuya

About

Nick Cao
Golang / Arch Linux / Backend
An imperfect perfectionist
NOC of AS209297

Contacts

GitLab: gitlab.com/NickCao
Telegram: t.me/NickCao
Mail: [email protected]
GPG Key: A1E513A77CC0D91C8806A4EB068A56CEF48FA2C1

AS209297

An independently operated research network
PeeringDB RIPEstat

GPG key rollover from DF028C15 to F48FA2C1

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 我,当前时间(Wed Nov 11 12:47:37 PM CST 2020)下邮件地址[email protected]的持有者 已弃用ID为09CC69622E8D4EE343B4E8954D0BA456DF028C15的gpg密钥 启用ID为A1E513A77CC0D91C8806A4EB068A56CEF48FA2C1的新密钥 以下签名可使用新旧密钥分别验证 -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSh5ROnfMDZHIgGpOsGilbO9I+iwQUCX6ttHwAKCRAGilbO9I+i waEPAQDjr+DviO/P83UU92cJACkBvZK3/AN8Am5fHBAjMtPJZwEAznnnK6Zfic2B Ni1uKzeX4pZ3MJbrQXhohQ7ub/2TuAKJAjMEAQEIAB0WIQQJzGliLo1O40O06JVN C6RW3wKMFQUCX6ttJwAKCRBNC6RW3wKMFYZUD/9Rs5hZ7JnzujhW3rsgNIxYrmBa JEPYAMKni0SxMoNbprPRO6NP+UNeAtmKaNHqEk0Px433INAgCy/mvthPPfvY9+X+ tOXREZnROt0cDEt0ykDkUINd38WwjN5zHyVRpur05abA+971arAkYvM0VvX6jX+h HiQ1GzcmHR4widQzHMcNDpVyRkQdSt/ICSlvQeLQlgIobL0r9YE9nneeVBEMBMal iHE769nCNbhzPJdsDpm6jKjY0LqCtlylGkDg7su/6Sq8J2nUBzZ0Gy7E4rPzawHe yUSV/x1mADIt8GHcwB2Nnyg6qNZm0r6Nuaw7dKy7c69i50kceQI5HEyTDmcvTPFg pydmxi14+tJztm3JEPWViS+uccX1fgyaPtstKriRkxeB+8CbYT5ZUdatRYpTq63V 9b0FwsmGYrYcY3fM/f+NLwosiQtXRsvGWlx62AoBQI+Br6UX8isg+4prasXxMATx 0Vg86RdHZzXJF6MajPgSi0tDj70bXSok703EFBR8hPRzjvdswRfRwVKh7WY+uCkr 8qkdts7KdJz3iMwvAPY6pi4delvccUZFjiC4VdaiR4PVRYx7th3DX3N99W8d+cy2 7nz204NoqlznluAyLNIokXG6etdbeB0sGq4Uomw+9i1R3zAvWvvUPe51VSC+Dd69 eezcKsbN7IB1/Ve8NQ== =4KDQ -----END PGP SIGNATURE-----

Terraform with Fedora CoreOS

what if a reinstallation is required 此文为上文的一点补充。 As far as I understand the sole purpose of cloud-init or user-data scripts is to do early initialization of instances. From that perspective, it may not make sense to use it as a way to re-provision or re-configure instances since that’s what tools like Puppet, Chef, Ansiable and Salt are for. Terraform was thought out as a way of creating and destroying infrastructure resources, and resource immutability is all over the place. https://github.com/terraform-providers/terraform-provider-aws/issues/23#issuecomment-308115064 然而Fedora CoreOS这样的immutable system的加入改变了这一现状,我们不再需要ansible/puppet或是其他的配置管理工具,而terraform,很遗憾,尚未对此作出相应的改变。我们所需求的特性

Fedora CoreOS

对于基础设施的管理,往往有两种approach,transactional与declarative。transactional描述动作,比如安装一个软件包,比如向文件中写入一行内容。而declarative描述结果,比如一个软件包已经被安装且满足特定version constraint,或是一个文件中存在某行内容。传统的手工操作是transactional的,负责任的运维可能会记录自己所运行的每一条